The Dialect type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddIdentifierOutParameterToInsert | |
![]() | AppendIdentitySelectToInsert |
Provided we SupportsInsertSelectIdentity, then attch the
"select identity" clause to the insert statement.
|
![]() | AppendLockHint |
Some dialects support an alternative means to SELECT FOR UPDATE,
whereby a "lock hint" is appends to the table name in the from clause.
|
![]() | ApplyLocksToSql |
Modifies the given SQL by applying the appropriate updates for the specified
lock modes and key columns.
|
![]() | BuildSQLExceptionConverter |
Build an instance of the ISQLExceptionConverter preferred by this dialect for
converting DbException into NHibernate's ADOException hierarchy.
|
![]() | CreateCaseFragment |
Create a CaseFragment strategy responsible
for handling this dialect's variations in how CASE statements are
handled.
|
![]() | CreateOuterJoinFragment |
Create a JoinFragment strategy responsible
for handling this dialect's variations in how joins are handled.
|
![]() | DropTemporaryTableAfterUse | Do we need to drop the temporary table after use? |
![]() | Equals | (Inherited from Object.) |
![]() ![]() | ExtractColumnOrAliasNames | |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GenerateTemporaryTableName | Generate a temporary table name given the bas table. |
![]() | GetAddForeignKeyConstraintString |
The syntax used to add a foreign key constraint to a table. If SupportsForeignKeyConstraintInAlterTable is false, the returned string will be added to the create table statement instead. In this case, extra strings, like "add", that apply when using alter table should be omitted.
|
![]() | GetAddPrimaryKeyConstraintString |
The syntax used to add a primary key constraint to a table
|
![]() | GetCastTypeName |
Get the name of the database type appropriate for casting operations
(via the CAST() SQL function) for the given SqlType typecode.
|
![]() | GetColumnComment | |
![]() | GetCreateSequenceString(String) |
Typically dialects which support sequences can create a sequence
with a single command.
|
![]() | GetCreateSequenceString(String, Int32, Int32) |
Overloaded form of GetCreateSequenceString(String), additionally
taking the initial value and increment size to be applied to the sequence
definition.
|
![]() | GetCreateSequenceStrings |
An optional multi-line form for databases which SupportsPooledSequences.
|
![]() | GetDataBaseSchema | |
![]() ![]() | GetDialect()()()() | Get an instance of the dialect specified by the current Environment properties. |
![]() ![]() | GetDialect(IDictionary<(Of <<'(String, String>)>>)) | |
![]() | GetDropForeignKeyConstraintString |
The syntax used to drop a foreign key constraint from a table.
|
![]() | GetDropIndexConstraintString |
The syntax used to drop an index constraint from a table.
|
![]() | GetDropPrimaryKeyConstraintString |
The syntax used to drop a primary key constraint from a table.
|
![]() | GetDropSequenceString |
Typically dialects which support sequences can drop a sequence
with a single command.
|
![]() | GetDropSequenceStrings |
The multiline script used to drop a sequence.
|
![]() | GetDropTableString |
Return SQL needed to drop the named table. May (and should) use
some form of "if exists" clause, and cascade constraints.
|
![]() | GetForUpdateNowaitString |
Get the FOR UPDATE OF column_list NOWAIT fragment appropriate
for this dialect given the aliases of the columns to be write locked.
|
![]() | GetForUpdateString(String) |
Get the FOR UPDATE OF column_list fragment appropriate for this
dialect given the aliases of the columns to be write locked.
|
![]() | GetForUpdateString(LockMode) |
Given a lock mode, determine the appropriate for update fragment to use.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetHibernateTypeName(DbType) | |
![]() | GetHibernateTypeName(DbType, Int32, Int32, Int32) | |
![]() | GetIdentityColumnString |
The syntax used during DDL to define a column as being an IDENTITY of
a particular type.
|
![]() | GetIdentitySelectString |
Get the select command to use to retrieve the last generated IDENTITY
value for a particular table
|
![]() | GetIfExistsDropConstraint |
The syntax that is used to check if a constraint exists before dropping it
|
![]() | GetIfExistsDropConstraintEnd |
The syntax that is used to close the if for a constraint exists check, used
for dialects that requires begin/end for ifs
|
![]() | GetIfNotExistsCreateConstraint |
The syntax that is used to check if a constraint does not exists before creating it
|
![]() | GetIfNotExistsCreateConstraintEnd |
The syntax that is used to close the if for a constraint exists check, used
for dialects that requires begin/end for ifs
|
![]() | GetLimitString(SqlString, SqlString, SqlString) |
Add a LIMIT clause to the given SQL SELECT.
Expects any database-specific offset and limit adjustments to have already been performed (ex. UseMaxForLimit, OffsetStartsAtOne).
|
![]() | GetLimitString(SqlString, Nullable<(Of <<'(Int32>)>>), Nullable<(Of <<'(Int32>)>>), Parameter, Parameter) |
Generates a string to limit the result set to a number of maximum results with a specified offset into the results.
Expects any database-specific offset and limit adjustments to have already been performed (ex. UseMaxForLimit, OffsetStartsAtOne).
Performs error checking based on the various dialect limit support options. If both parameters and fixed valeus are
specified, this will use the parameter option if possible. Otherwise, it will fall back to a fixed string.
|
![]() | GetLimitValue |
Some databases require that a limit statement contain the maximum row number
instead of the number of rows to retrieve. This method adjusts source
limit and offset values to account for this.
|
![]() | GetLockingStrategy |
Get a strategy instance which knows how to acquire a database-level lock
of the specified mode for this dialect.
|
![]() | GetLongestTypeName |
Gets the name of the longest registered type for a particular DbType.
|
![]() | GetOffsetValue |
Some databases use limit row offsets that start at one instead of zero.
This method adjusts a desired offset using the OffsetStartsAtOne flag.
|
![]() | GetResultSet |
Given a callable statement previously processed by RegisterResultSetOutParameter(DbCommand, Int32),
extract the DbDataReader from the OUT parameter.
|
![]() | GetSelectClauseNullString |
Given a DbType type code, determine an appropriate
null value to use in a select clause.
|
![]() | GetSelectSequenceNextValString |
Generate the select expression fragment that will retrieve the next
value of a sequence as part of another (typically DML) statement.
|
![]() | GetSequenceNextValString |
Generate the appropriate select statement to to retreive the next value
of a sequence.
|
![]() | GetTableComment | |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetTypeName(SqlType) |
Get the name of the database type associated with the given
SqlType,
|
![]() | GetTypeName(SqlType, Int32, Int32, Int32) |
Get the name of the database type associated with the given
SqlType.
|
![]() | IsKnownToken | |
![]() | IsQuoted |
Checks to see if the name has been quoted.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PerformTemporaryTableDDLInIsolation |
Does the dialect require that temporary table DDL statements occur in
isolation from other statements? This would be the case if the creation
would cause any current transaction to get committed implicitly.
|
![]() | Qualify | |
![]() | Quote |
Quotes a name.
|
![]() | QuoteForAliasName |
Quotes a name for being used as a aliasname
|
![]() | QuoteForColumnName |
Quotes a name for being used as a columnname
|
![]() | QuoteForSchemaName |
Quotes a name for being used as a schemaname
|
![]() | QuoteForTableName |
Quotes a name for being used as a tablename
|
![]() | RegisterColumnType(DbType, String) |
Suclasses register a typename for the given type code. $l in the
typename will be replaced by the column length (if appropriate).
|
![]() | RegisterColumnType(DbType, Int32, String) |
Subclasses register a typename for the given type code and maximum
column length. $l in the type name will be replaced by the column
length (if appropriate)
|
![]() | RegisterFunction | |
![]() | RegisterHibernateType(DbType, String) | |
![]() | RegisterHibernateType(DbType, Int32, String) | |
![]() | RegisterKeyword | |
![]() | RegisterResultSetOutParameter |
Registers an OUT parameter which will be returing a
DbDataReader. How this is accomplished varies greatly
from DB to DB, hence its inclusion (along with {@link #getResultSet}) here.
|
![]() | ToBooleanValueString | The SQL literal value to which this database maps boolean values. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UnQuote(String) |
Unquotes and unescapes an already quoted name
|
![]() | UnQuote(array<String>[]()[][]) |
Unquotes an array of Quoted Names.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) |
![]() | IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) |
![]() | IsProxy | (Defined by NHibernateProxyHelper.) |
![]() | ToTypeParameters | (Defined by ReflectHelper.) |