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

CachingStatement.ExecuteUpdate Method 

Execute an update statement. Also used for delete statement. Return the number of row effected.

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

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.

Return Value

The number of row effected.

Implements

IMappedStatement.

See Also

CachingStatement Class | IBatisNet.DataMapper.MappedStatements Namespace