Tamino API for .NET

TaminoDataAdapter.Fill Method (DataSet, TaminoQuery)

Fill the specified DataSet.

If the DataSet already contains any data, all rows of all tables are removed before filling.

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

Parameters

ds
the DataSet to be filled
query
the query to be used for filling

Return Value

the number of Tamino query result items added to the DataSet

Remarks

The specified query object is used for filling. When this call returns, the Query property of the TaminoDataAdapter object contains the value of the passed query parameter.

If the DataSet does not contain any tables, the XmlReadMode.InferSchema is used for filling. If the DataSet already contains a schema, XmlReadMode.IgnoreSchema is used for filling.

See Also

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