The SqlClientDriver type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlClientDriver | Initializes a new instance of the SqlClientDriver class |
Methods
Name | Description | |
---|---|---|
AdjustCommand |
Override to make any adjustments to each IDbCommand object before it added to the batcher.
(Inherited from DriverBase.) | |
CloneParameter | (Inherited from DriverBase.) | |
Configure | (Inherited from DriverBase.) | |
CreateCommand |
Creates an uninitialized IDbCommand object for
the SqlClientDriver.
(Overrides DriverBase..::..CreateCommand()()()().) | |
CreateConnection |
Creates an uninitialized IDbConnection object for
the SqlClientDriver.
(Overrides DriverBase..::..CreateConnection()()()().) | |
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 | (Overrides DriverBase..::..GenerateCommand(CommandType, SqlString, array<SqlType>[]()[][]).) | |
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 | (Overrides DriverBase..::..GetResultSetsCommand(ISessionImplementor).) | |
GetSqlStringFormatter | (Inherited from DriverBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeParameter | (Inherited from DriverBase.) | |
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.) | |
SetParameterSizes | ||
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.) |
Fields
Properties
Name | Description | |
---|---|---|
IsPrepareSqlEnabled | (Inherited from DriverBase.) | |
NamedPrefix |
The Named Prefix for parameters.
(Overrides DriverBase..::..NamedPrefix.) | |
SupportsMultipleOpenReaders |
The SqlClient driver does NOT support more than 1 open IDataReader
with only 1 IDbConnection.
(Overrides DriverBase..::..SupportsMultipleOpenReaders.) | |
SupportsMultipleQueries | (Overrides DriverBase..::..SupportsMultipleQueries.) | |
SupportsPreparingCommands |
Does this Driver support IDbCommand.Prepare().
(Inherited from DriverBase.) | |
UseNamedPrefixInParameter |
MsSql requires the use of a Named Prefix in the Parameter.
(Overrides DriverBase..::..UseNamedPrefixInParameter.) | |
UseNamedPrefixInSql |
MsSql requires the use of a Named Prefix in the SQL statement.
(Overrides DriverBase..::..UseNamedPrefixInSql.) |