Interface ISqlGenerator
Assembly: DapperExtensions.StrongName.dll
Syntax
public interface ISqlGenerator
Properties
|
Improve this Doc
View Source
Configuration
Declaration
IDapperExtensionsConfiguration Configuration { get; }
Property Value
Methods
|
Improve this Doc
View Source
Count(IClassMapper, IPredicate, IDictionary<String, Object>)
Declaration
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
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
string GetColumnName(IClassMapper map, IPropertyMap property, bool includeAlias)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetColumnName(IClassMapper, String, Boolean)
Declaration
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
string GetTableName(IClassMapper map)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IdentitySql(IClassMapper)
Declaration
string IdentitySql(IClassMapper classMap)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Insert(IClassMapper)
Declaration
string Insert(IClassMapper classMap)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Select(IClassMapper, IPredicate, IList<ISort>, IDictionary<String, Object>)
Declaration
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
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
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
bool SupportsMultipleStatements()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Update(IClassMapper, IPredicate, IDictionary<String, Object>)
Declaration
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 |
|