Tamino API for .NET

TaminoDataAdapter.Update Method (DataSet)

Writes all changes (insertions, deletions, updates) of the specified DataSet back to Tamino. Requires that the specified DataSet was filled by this TaminoDataAdpater object in mode UpdateByItemMapping.

[Visual Basic]
Overloads Public Function Update( _
   ByVal ds As DataSet _
) As Integer
[C#]
public int Update(
   DataSet ds
);

Parameters

ds
the DataSet

Return Value

the number of updated, deleted and inserted items

Remarks

Can only be used if the data in the DataSet corresponds to root elements of Tamino documents. To update subtrees of Tamino documents TaminoQueryItemMapping, objects have to be specified.

Exceptions

Exception TypeCondition
TaminoExceptionif errors occur and TaminoDataAdapter.ContinueOnUpdate is false

See Also

TaminoDataAdapter Class | TaminoDataAdapter Members | SoftwareAG.Tamino.Api.DataAdapter Namespace | TaminoDataAdapter.Update Overload List