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

CachingStatement.ExecuteInsert Method 

Execute an insert statement. Fill the parameter object with the ouput parameters if any, also could return the insert generated key

[Visual Basic]
NotOverridable Public Function ExecuteInsert( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As Object _
    Implements IMappedStatement.
[C#]
public object ExecuteInsert(
   ISqlMapSession session,
   Object parameterObject
);

Parameters

session
The session
parameterObject
The parameter object used to fill the statement.

Return Value

Can return the insert generated key.

Implements

IMappedStatement.

See Also

CachingStatement Class | IBatisNet.DataMapper.MappedStatements Namespace