Class SqlGeneratorImpl
Inheritance
System.Object
SqlGeneratorImpl
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: DapperExtensions.StrongName.dll
Syntax
public class SqlGeneratorImpl : ISqlGenerator
Constructors
|
Improve this Doc
View Source
SqlGeneratorImpl(IDapperExtensionsConfiguration)
Declaration
public SqlGeneratorImpl(IDapperExtensionsConfiguration configuration)
Parameters
Properties
|
Improve this Doc
View Source
Configuration
Declaration
public IDapperExtensionsConfiguration Configuration { get; }
Property Value
Methods
|
Improve this Doc
View Source
BuildSelectColumns(IClassMapper)
Declaration
public virtual string BuildSelectColumns(IClassMapper classMap)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Count(IClassMapper, IPredicate, IDictionary<String, Object>)
Declaration
public virtual string Count(IClassMapper classMap, IPredicate predicate, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IClassMapper |
classMap |
|
IPredicate |
predicate |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Delete(IClassMapper, IPredicate, IDictionary<String, Object>)
Declaration
public virtual string Delete(IClassMapper classMap, IPredicate predicate, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IClassMapper |
classMap |
|
IPredicate |
predicate |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetColumnName(IClassMapper, IPropertyMap, Boolean)
Declaration
public virtual string GetColumnName(IClassMapper map, IPropertyMap property, bool includeAlias)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetColumnName(IClassMapper, String, Boolean)
Declaration
public virtual string GetColumnName(IClassMapper map, string propertyName, bool includeAlias)
Parameters
Type |
Name |
Description |
IClassMapper |
map |
|
System.String |
propertyName |
|
System.Boolean |
includeAlias |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetTableName(IClassMapper)
Declaration
public virtual string GetTableName(IClassMapper map)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IdentitySql(IClassMapper)
Declaration
public virtual string IdentitySql(IClassMapper classMap)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Insert(IClassMapper)
Declaration
public virtual string Insert(IClassMapper classMap)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Select(IClassMapper, IPredicate, IList<ISort>, IDictionary<String, Object>)
Declaration
public virtual string Select(IClassMapper classMap, IPredicate predicate, IList<ISort> sort, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IClassMapper |
classMap |
|
IPredicate |
predicate |
|
System.Collections.Generic.IList<ISort> |
sort |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SelectPaged(IClassMapper, IPredicate, IList<ISort>, Int32, Int32, IDictionary<String, Object>)
Declaration
public virtual string SelectPaged(IClassMapper classMap, IPredicate predicate, IList<ISort> sort, int page, int resultsPerPage, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IClassMapper |
classMap |
|
IPredicate |
predicate |
|
System.Collections.Generic.IList<ISort> |
sort |
|
System.Int32 |
page |
|
System.Int32 |
resultsPerPage |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SelectSet(IClassMapper, IPredicate, IList<ISort>, Int32, Int32, IDictionary<String, Object>)
Declaration
public virtual string SelectSet(IClassMapper classMap, IPredicate predicate, IList<ISort> sort, int firstResult, int maxResults, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IClassMapper |
classMap |
|
IPredicate |
predicate |
|
System.Collections.Generic.IList<ISort> |
sort |
|
System.Int32 |
firstResult |
|
System.Int32 |
maxResults |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SupportsMultipleStatements()
Declaration
public virtual bool SupportsMultipleStatements()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Update(IClassMapper, IPredicate, IDictionary<String, Object>)
Declaration
public virtual string Update(IClassMapper classMap, IPredicate predicate, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
IClassMapper |
classMap |
|
IPredicate |
predicate |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
Returns
Type |
Description |
System.String |
|
Implements