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

SqlMapper.Update Method 

Executes a Sql UPDATE statement. Update can also be used for any other update statement type, such as inserts and deletes. Update returns the number of rows effected.

The parameter object is generally used to supply the input data for the UPDATE values as well as the WHERE clause parameter(s).
[Visual Basic]
NotOverridable Public Function Update( _
   ByVal String As String, _
   ByVal Object As Object _
) As Integer _
    Implements ISqlMapper.
[C#]
public int Update(
   String statementName,
   Object parameterObject
);

Parameters

statementName
The name of the statement to execute.
parameterObject
The parameter object.

Return Value

The number of rows effected.

Implements

ISqlMapper.

See Also

SqlMapper Class | IBatisNet.DataMapper Namespace