Generates an IDbCommand from the SqlString according to the requirements of the DataProvider.
Namespace: NHibernate.DriverAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IDbCommand GenerateCommand( CommandType type, SqlString sqlString, SqlType[] parameterTypes ) |
Visual Basic |
---|
Function GenerateCommand ( _ type As CommandType, _ sqlString As SqlString, _ parameterTypes As SqlType() _ ) As IDbCommand |
Visual C++ |
---|
IDbCommand^ GenerateCommand( CommandType type, SqlString^ sqlString, array<SqlType^>^ parameterTypes ) |
Parameters
- type
- Type: System.Data..::..CommandType
The CommandType of the command to generate.
- sqlString
- Type: NHibernate.SqlCommand..::..SqlString
The SqlString that contains the SQL.
- parameterTypes
- Type: array<NHibernate.SqlTypes..::..SqlType>[]()[][]
The types of the parameters to generate for the command.