A NHibernate Driver for using the SqlClient DataProvider
Documentation for this section has not yet been entered.
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
See Also: Inherited members from DriverBase.
⊟ Public Constructors
Documentation for this section has not yet been entered. ⊟ Public Properties
[read-only] overrideNamedPrefix string . The Named Prefix for parameters. [read-only] overrideSupportsMultipleOpenReaders bool . The SqlClient driver does NOT support more than 1 open IDataReader with only 1 IDbConnection. [read-only] overrideSupportsMultipleQueries bool . Documentation for this section has not yet been entered. [read-only] overrideUseNamedPrefixInParameter bool . MsSql requires the use of a Named Prefix in the Parameter. [read-only] overrideUseNamedPrefixInSql bool . MsSql requires the use of a Named Prefix in the SQL statement. ⊟ Public Methods
overrideCreateBatcher (NHibernate.Impl.ConnectionManager) : NHibernate.Engine.IBatcher Create an instance of NHibernate.Engine.IBatcher according to the configuration and the capabilities of the driver overrideCreateCommand () : System.Data.IDbCommand Creates an uninitialized System.Data.IDbCommand object for the SqlClientDriver. overrideCreateConnection () : System.Data.IDbConnection Creates an uninitialized System.Data.IDbConnection object for the SqlClientDriver. overrideGenerateCommand (System.Data.CommandType, NHibernate.SqlCommand.SqlString, NHibernate.SqlTypes.SqlType[]) : System.Data.IDbCommand Documentation for this section has not yet been entered. staticSetParameterSizes (System.Data.IDataParameterCollection, NHibernate.SqlTypes.SqlType[]) Documentation for this section has not yet been entered.
⊟ SqlClientDriver Constructor
Documentation for this section has not yet been entered.
public SqlClientDriver ()⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ CreateBatcher Method
Create an instance of NHibernate.Engine.IBatcher according to the configuration and the capabilities of the driver
public override NHibernate.Engine.IBatcher CreateBatcher (NHibernate.Impl.ConnectionManager connectionManager)⊟ Parameters
- connectionManager
- Documentation for this section has not yet been entered.
⊟ Returns
Documentation for this section has not yet been entered.⊟ Remarks
By default, .Net doesn't have any batching capabilities, drivers that does have batching support need to override this method and return their own batcher.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ CreateCommand Method
Creates an uninitialized System.Data.IDbCommand object for the SqlClientDriver.
public override System.Data.IDbCommand CreateCommand ()⊟ Returns
Documentation for this section has not yet been entered.⊟ Value
An unitialized System.Data.SqlClient.SqlCommand object.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ CreateConnection Method
Creates an uninitialized System.Data.IDbConnection object for the SqlClientDriver.
public override System.Data.IDbConnection CreateConnection ()⊟ Returns
Documentation for this section has not yet been entered.⊟ Value
An unitialized System.Data.SqlClient.SqlConnection object.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ GenerateCommand Method
Documentation for this section has not yet been entered.
public override System.Data.IDbCommand GenerateCommand (System.Data.CommandType type, NHibernate.SqlCommand.SqlString sqlString, NHibernate.SqlTypes.SqlType[] parameterTypes)⊟ Parameters
- type
- Documentation for this section has not yet been entered.
- sqlString
- Documentation for this section has not yet been entered.
- parameterTypes
- Documentation for this section has not yet been entered.
⊟ Returns
Documentation for this section has not yet been entered.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ NamedPrefix Property
The Named Prefix for parameters.
public override string NamedPrefix { get; }⊟ Value
Sql Server uses "@".⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ SetParameterSizes Method
Documentation for this section has not yet been entered.
public static void SetParameterSizes (System.Data.IDataParameterCollection parameters, NHibernate.SqlTypes.SqlType[] parameterTypes)⊟ Parameters
- parameters
- Documentation for this section has not yet been entered.
- parameterTypes
- Documentation for this section has not yet been entered.
⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ SupportsMultipleOpenReaders Property
The SqlClient driver does NOT support more than 1 open IDataReader with only 1 IDbConnection.
public override bool SupportsMultipleOpenReaders { get; }⊟ Value
false - it is not supported.⊟ Remarks
MS SQL Server 2000 (and 7) throws an exception when multiple IDataReaders are attempted to be opened. When SQL Server 2005 comes out a new driver will be created for it because SQL Server 2005 is supposed to support it.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ SupportsMultipleQueries Property
Documentation for this section has not yet been entered.
public override bool SupportsMultipleQueries { get; }⊟ Value
Documentation for this section has not yet been entered.⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ UseNamedPrefixInParameter Property
MsSql requires the use of a Named Prefix in the Parameter.
public override bool UseNamedPrefixInParameter { get; }⊟ Value
Documentation for this section has not yet been entered.⊟ Remarks
true because MsSql uses "@".⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000
⊟ UseNamedPrefixInSql Property
MsSql requires the use of a Named Prefix in the SQL statement.
public override bool UseNamedPrefixInSql { get; }⊟ Value
Documentation for this section has not yet been entered.⊟ Remarks
true because MsSql uses "@".⊟ Requirements
Namespace: NHibernate.Driver
Assembly: NHibernate (in NHibernate.dll)
Assembly Versions: 1.2.1.4000