The Sql2008ClientDriver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Sql2008ClientDriver | Initializes a new instance of the Sql2008ClientDriver class |
Methods
Name | Description | |
---|---|---|
AdjustCommand | (Overrides DriverBase..::..AdjustCommand(IDbCommand).) | |
CloneParameter | (Inherited from DriverBase.) | |
Configure | (Inherited from DriverBase.) | |
CreateCommand |
Creates an uninitialized IDbCommand object for
the SqlClientDriver.
(Inherited from SqlClientDriver.) | |
CreateConnection |
Creates an uninitialized IDbConnection object for
the SqlClientDriver.
(Inherited from SqlClientDriver.) | |
Equals | (Inherited from Object.) | |
ExpandQueryParameters | (Inherited from DriverBase.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FormatNameForParameter |
Changes the parameterName into the correct format for an IDbParameter
for the Driver.
(Inherited from DriverBase.) | |
FormatNameForSql |
Change the parameterName into the correct format IDbCommand.CommandText
for the ConnectionProvider
(Inherited from DriverBase.) | |
GenerateCommand | (Inherited from SqlClientDriver.) | |
GenerateOutputParameter | (Inherited from DriverBase.) | |
GenerateParameter |
Generates an IDbDataParameter for the IDbCommand. It does not add the IDbDataParameter to the IDbCommand's
Parameter collection.
(Inherited from DriverBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetResultSetsCommand | (Inherited from SqlClientDriver.) | |
GetSqlStringFormatter | (Inherited from DriverBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeParameter | (Overrides DriverBase..::..InitializeParameter(IDbDataParameter, String, SqlType).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnBeforePrepare |
Override to make any adjustments to the IDbCommand object. (e.g., Oracle custom OUT parameter)
Parameters have been bound by this point, so their order can be adjusted too.
This is analagous to the RegisterResultSetOutParameter() function in Hibernate.
(Inherited from DriverBase.) | |
PrepareCommand | (Inherited from DriverBase.) | |
RemoveUnusedCommandParameters | (Inherited from DriverBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |
Properties
Name | Description | |
---|---|---|
IsPrepareSqlEnabled | (Inherited from DriverBase.) | |
NamedPrefix |
The Named Prefix for parameters.
(Inherited from SqlClientDriver.) | |
SupportsMultipleOpenReaders |
The SqlClient driver does NOT support more than 1 open IDataReader
with only 1 IDbConnection.
(Inherited from SqlClientDriver.) | |
SupportsMultipleQueries | (Inherited from SqlClientDriver.) | |
SupportsPreparingCommands |
Does this Driver support IDbCommand.Prepare().
(Inherited from DriverBase.) | |
UseNamedPrefixInParameter |
MsSql requires the use of a Named Prefix in the Parameter.
(Inherited from SqlClientDriver.) | |
UseNamedPrefixInSql |
MsSql requires the use of a Named Prefix in the SQL statement.
(Inherited from SqlClientDriver.) |