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

IMappedStatement.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]
Function ExecuteInsert( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As Object
[C#]
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.

See Also

IMappedStatement Interface | IBatisNet.DataMapper.MappedStatements Namespace