Interface ISqlDialect
Assembly: DapperExtensions.StrongName.dll
Syntax
public interface ISqlDialect
Properties
|
Improve this Doc
View Source
BatchSeperator
Declaration
string BatchSeperator { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CloseQuote
Declaration
Property Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
EmptyExpression
Declaration
string EmptyExpression { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
OpenQuote
Declaration
Property Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
ParameterPrefix
Declaration
char ParameterPrefix { get; }
Property Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
SupportsMultipleStatements
Declaration
bool SupportsMultipleStatements { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
GetColumnName(String, String, String)
Declaration
string GetColumnName(string prefix, string columnName, string alias)
Parameters
Type |
Name |
Description |
System.String |
prefix |
|
System.String |
columnName |
|
System.String |
alias |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetIdentitySql(String)
Declaration
string GetIdentitySql(string tableName)
Parameters
Type |
Name |
Description |
System.String |
tableName |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetPagingSql(String, Int32, Int32, IDictionary<String, Object>)
Declaration
string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
System.String |
sql |
|
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
GetSetSql(String, Int32, Int32, IDictionary<String, Object>)
Declaration
string GetSetSql(string sql, int firstResult, int maxResults, IDictionary<string, object> parameters)
Parameters
Type |
Name |
Description |
System.String |
sql |
|
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
GetTableName(String, String, String)
Declaration
string GetTableName(string schemaName, string tableName, string alias)
Parameters
Type |
Name |
Description |
System.String |
schemaName |
|
System.String |
tableName |
|
System.String |
alias |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsQuoted(String)
Declaration
bool IsQuoted(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
QuoteString(String)
Declaration
string QuoteString(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Type |
Description |
System.String |
|