A NHibernate Driver for using the SqlClient DataProvider
The following tables list the members exposed by the SqlClientDriver type.
Public Methods
| Name | Description | |
|---|---|---|
| Configure | (Inherited from DriverBase.) | |
| CreateBatcher |
Create an instance of IBatcher according to the configuration
and the capabilities of the driver
(Overrides .CreateBatcher(ConnectionManager).) | |
| CreateCommand |
Creates an uninitialized IDbCommand object for
the SqlClientDriver.
(Overrides .CreateCommand().) | |
| CreateConnection |
Creates an uninitialized IDbConnection object for
the SqlClientDriver.
(Overrides .CreateConnection().) | |
| 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 .GenerateCommand(CommandType, SqlString, SqlType[]()).) | |
| GenerateOutputParameter | (Inherited from DriverBase.) | |
| PrepareCommand | (Inherited from DriverBase.) | |
| SetParameterSizes |
Protected Methods
| Name | Description | |
|---|---|---|
| GenerateParameter |
Generates an IDbDataParameter for the IDbCommand. It does not add the IDbDataParameter to the IDbCommand's
Parameter collection.
(Inherited from DriverBase.) | |
| InitializeParameter | (Inherited from DriverBase.) |
Public Constructors
| Name | Description | |
|---|---|---|
| SqlClientDriverNew |
Public Properties
| Name | Description | |
|---|---|---|
| NamedPrefix |
The Named Prefix for parameters.
(Overrides .NamedPrefix.) | |
| SupportsMultipleOpenReaders |
The SqlClient driver does NOT support more than 1 open IDataReader
with only 1 IDbConnection.
(Overrides .SupportsMultipleOpenReaders.) | |
| SupportsMultipleQueries | (Overrides .SupportsMultipleQueries.) | |
| UseNamedPrefixInParameter |
MsSql requires the use of a Named Prefix in the Parameter.
(Overrides .UseNamedPrefixInParameter.) | |
| UseNamedPrefixInSql |
MsSql requires the use of a Named Prefix in the SQL statement.
(Overrides .UseNamedPrefixInSql.) |
Protected Properties
| Name | Description | |
|---|---|---|
| IsPrepareSqlEnabled | (Inherited from DriverBase.) | |
| SupportsPreparingCommands |
Does this Driver support IDbCommand.Prepare().
(Inherited from DriverBase.) |