iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

IPreparedCommand.Create Method 

Create an IDbCommand for the SqlMapSession and the current SQL Statement and fill IDbCommand IDataParameter's with the parameterObject.

[Visual Basic]
Sub Create( _
   ByVal RequestScope As RequestScope, _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal IStatement As IStatement, _
   ByVal Object As Object _
)
[C#]
void Create(
   RequestScope request,
   ISqlMapSession session,
   IStatement statement,
   Object parameterObject
);

Parameters

request
session
The SqlMapSession
statement
The IStatement
parameterObject
The parameter object that will fill the sql parameter

Return Value

An IDbCommand with all the IDataParameter filled.

See Also

IPreparedCommand Interface | IBatisNet.DataMapper.Commands Namespace