Allows implementers to provide SQL queries formatting capabilities.
Get the catalog separator string.
public String CatalogSeparator { get; }
Get the prefix string used to quote identifiers.
public String QuoteIdentifierPrefix { get; }
Get the suffix string used to quote identifiers.
public String QuoteIdentifierSuffix { get; }
Get the prefix string used to quote parameters.
public String QuoteParamPrefix { get; }
Get the suffix string used to quote parameters.
public String QuoteParamSuffix { get; }
Get the schema separator string.
public String SchemaSeparator { get; }
Formats a value to be included within a statement.
public String FormatValue(dataType, value)
A textual representation of value.
Name | Type | Summary |
---|---|---|
dataType | DbType | The data type of the value. |
value | Object | Value to be formatted. |
Get the string for the specified operator.
public String GetComparisonOperator(op)
A string representation of the operator.
Name | Type | Summary |
---|---|---|
op | ComparisonOperator | The operator to retrieve. |
Get a string representation of the database instruction to retrieve the current database server date time.
public String GetDbDateTimeString()
System date-time command string.
Get the string for the specified data type.
public String GetDbType(type)
A string representation of the data type.
Name | Type | Summary |
---|---|---|
type | DbType | The data type to get the string of. |
Get the string for the specified operator.
public String GetRelationalOperator(op)
A string representation of the operator.
Name | Type | Summary |
---|---|---|
op | RelationalOperator | The operator to retrieve. |
Quote the specified identifier.
public String QuoteIdentifier(identifier)
The quoted identifier.
Name | Type | Summary |
---|---|---|
identifier | String | The identifier to quote. |
Quote the specified parameter name.
public String QuoteParameter(paramName)
The quoted parameter.
Name | Type | Summary |
---|---|---|
paramName | String | The name of the parameter to quote. |
Unquote the specified quoted identifier.
public String UnquoteIdentifier(quotedIdentifier)
The unquoted identifier.
Name | Type | Summary |
---|---|---|
quotedIdentifier | String | The quoted identifier to unquote. |
Unquote the specified quoted parameter.
public String UnquoteParameter(quotedParameter)
The unquoted parameter.
Name | Type | Summary |
---|---|---|
quotedParameter | String | The quoted parameter to unquote. |