The Dialect type exposes the following members.

Methods

  NameDescription
Public methodAddIdentifierOutParameterToInsert
Public methodAppendIdentitySelectToInsert
Provided we SupportsInsertSelectIdentity, then attch the "select identity" clause to the insert statement.
Public methodAppendLockHint
Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appends to the table name in the from clause.
Public methodApplyLocksToSql
Modifies the given SQL by applying the appropriate updates for the specified lock modes and key columns.
Public methodBuildSQLExceptionConverter
Build an instance of the ISQLExceptionConverter preferred by this dialect for converting DbException into NHibernate's ADOException hierarchy.
Public methodCreateCaseFragment
Create a CaseFragment strategy responsible for handling this dialect's variations in how CASE statements are handled.
Public methodCreateOuterJoinFragment
Create a JoinFragment strategy responsible for handling this dialect's variations in how joins are handled.
Public methodDropTemporaryTableAfterUse
Do we need to drop the temporary table after use?
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodStatic memberExtractColumnOrAliasNames
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateTemporaryTableName
Generate a temporary table name given the bas table.
Public methodGetAddForeignKeyConstraintString
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.
Public methodGetAddPrimaryKeyConstraintString
The syntax used to add a primary key constraint to a table
Public methodGetCastTypeName
Get the name of the database type appropriate for casting operations (via the CAST() SQL function) for the given SqlType typecode.
Public methodGetColumnComment
Public methodGetCreateSequenceString(String)
Typically dialects which support sequences can create a sequence with a single command.
Protected methodGetCreateSequenceString(String, Int32, Int32)
Overloaded form of GetCreateSequenceString(String), additionally taking the initial value and increment size to be applied to the sequence definition.
Public methodGetCreateSequenceStrings
An optional multi-line form for databases which SupportsPooledSequences.
Public methodGetDataBaseSchema
Public methodStatic memberGetDialect()()()()
Get an instance of the dialect specified by the current Environment properties.
Public methodStatic memberGetDialect(IDictionary<(Of <<'(String, String>)>>))
Get de Dialect from a property bag (prop name Dialect)
Public methodGetDropForeignKeyConstraintString
The syntax used to drop a foreign key constraint from a table.
Public methodGetDropIndexConstraintString
The syntax used to drop an index constraint from a table.
Public methodGetDropPrimaryKeyConstraintString
The syntax used to drop a primary key constraint from a table.
Public methodGetDropSequenceString
Typically dialects which support sequences can drop a sequence with a single command.
Public methodGetDropSequenceStrings
The multiline script used to drop a sequence.
Public methodGetDropTableString
Return SQL needed to drop the named table. May (and should) use some form of "if exists" clause, and cascade constraints.
Public methodGetForUpdateNowaitString
Get the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.
Public methodGetForUpdateString(String)
Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.
Public methodGetForUpdateString(LockMode)
Given a lock mode, determine the appropriate for update fragment to use.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetHibernateTypeName(DbType)
Get the name of the Hibernate IType associated with th given DbType typecode.
Public methodGetHibernateTypeName(DbType, Int32, Int32, Int32)
Get the name of the Hibernate IType associated with the given DbType typecode with the given storage specification parameters.
Public methodGetIdentityColumnString
The syntax used during DDL to define a column as being an IDENTITY of a particular type.
Public methodGetIdentitySelectString
Get the select command to use to retrieve the last generated IDENTITY value for a particular table
Public methodGetIfExistsDropConstraint
The syntax that is used to check if a constraint exists before dropping it
Public methodGetIfExistsDropConstraintEnd
The syntax that is used to close the if for a constraint exists check, used for dialects that requires begin/end for ifs
Public methodGetIfNotExistsCreateConstraint
The syntax that is used to check if a constraint does not exists before creating it
Public methodGetIfNotExistsCreateConstraintEnd
The syntax that is used to close the if for a constraint exists check, used for dialects that requires begin/end for ifs
Public methodGetLimitString(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).
Public methodGetLimitString(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.
Public methodGetLimitValue
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.
Public methodGetLockingStrategy
Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.
Public methodGetLongestTypeName
Gets the name of the longest registered type for a particular DbType.
Public methodGetOffsetValue
Some databases use limit row offsets that start at one instead of zero. This method adjusts a desired offset using the OffsetStartsAtOne flag.
Public methodGetResultSet
Given a callable statement previously processed by RegisterResultSetOutParameter(DbCommand, Int32), extract the DbDataReader from the OUT parameter.
Public methodGetSelectClauseNullString
Given a DbType type code, determine an appropriate null value to use in a select clause.
Public methodGetSelectSequenceNextValString
Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.
Public methodGetSequenceNextValString
Generate the appropriate select statement to to retreive the next value of a sequence.
Public methodGetTableComment
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeName(SqlType)
Get the name of the database type associated with the given SqlType,
Public methodGetTypeName(SqlType, Int32, Int32, Int32)
Get the name of the database type associated with the given SqlType.
Public methodIsKnownToken
Public methodIsQuoted
Checks to see if the name has been quoted.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPerformTemporaryTableDDLInIsolation
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.
Public methodQualify
Protected methodQuote
Quotes a name.
Public methodQuoteForAliasName
Quotes a name for being used as a aliasname
Public methodQuoteForColumnName
Quotes a name for being used as a columnname
Public methodQuoteForSchemaName
Quotes a name for being used as a schemaname
Public methodQuoteForTableName
Quotes a name for being used as a tablename
Protected methodRegisterColumnType(DbType, String)
Suclasses register a typename for the given type code. $l in the typename will be replaced by the column length (if appropriate).
Protected methodRegisterColumnType(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)
Protected methodRegisterFunction
Protected methodRegisterHibernateType(DbType, String)
Registers a Hibernate IType name for the given DbType type code.
Protected methodRegisterHibernateType(DbType, Int32, String)
Registers a Hibernate IType name for the given DbType type code and maximum column length.
Protected methodRegisterKeyword
Public methodRegisterResultSetOutParameter
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.
Public methodToBooleanValueString
The SQL literal value to which this database maps boolean values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnQuote(String)
Unquotes and unescapes an already quoted name
Public methodUnQuote(array<String>[]()[][])
Unquotes an array of Quoted Names.

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

See Also