Generates an IDbDataParameter for the IDbCommand. It does not add the IDbDataParameter to the IDbCommand's
Parameter collection.
Namespace: NHibernate.DriverAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public IDbDataParameter GenerateParameter( IDbCommand command, string name, SqlType sqlType ) |
Visual Basic |
---|
Public Function GenerateParameter ( _ command As IDbCommand, _ name As String, _ sqlType As SqlType _ ) As IDbDataParameter |
Visual C++ |
---|
public: virtual IDbDataParameter^ GenerateParameter( IDbCommand^ command, String^ name, SqlType^ sqlType ) sealed |
Parameters
- command
- Type: System.Data..::..IDbCommand
The IDbCommand to use to create the IDbDataParameter.
- name
- Type: System..::..String
The name to set for IDbDataParameter.Name
- sqlType
- Type: NHibernate.SqlTypes..::..SqlType
The SqlType to set for IDbDataParameter.