Implements the IDbFormatter interface for MySql database engines.
Default constructor
public Void MySqlDbFormatter()
Catalog separator.
public String CatalogSeparator { get; }
Prefix to quote identifiers.
public String QuoteIdentifierPrefix { get; }
Suffix to quote identifiers.
public String QuoteIdentifierSuffix { get; }
Prefix to quote parameters.
public String QuoteParamPrefix { get; }
Suffix to quote parameters.
public String QuoteParamSuffix { get; }
Schema separator.
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. |
Returns a string for the database command that returns the server date and time.
public String GetDbDateTimeString()
This returns the string for the MySql function NOW().