Tamino API for .NET

TaminoDataAdapter.Update Method (DataSet, TaminoQueryItemMapping[])

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

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

Parameters

ds
the DataSet
mapping
the item mapping objects

Return Value

the number of updated, deleted and inserted items

Remarks

To update subtrees of Tamino documents, valid TaminoQueryItemMapping objects must be specified to identify the subtrees uniquely within their parent documents.

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