ComponentOne DataObjects for .NET
Update Method (RemoteDataService)

C1.Data.2 Assembly > C1.Data Namespace > RemoteDataService Class : Update Method
Data set containing simple table rows. Only rows with C1DataRow.RowState equal to Added, Deleted or Modified need to be updated to the database. After database update, simple table rows in this data set are passed back to the client to refresh the data set for which C1DataSet.Update was called.
Connection object substitutes defined in C1DataSet.DynamicConnections property.
This parameter is set to True by default. It means C1DataObjects performs C1DataSet.Update inside a database transaction. To make it perform Update without using a database transaction, override this method and set this parameter to False. This is needed to support distributed transactions, see Supporting distributed (COM+) transactions.
Called on the server when C1DataSet.Update is called on the client.
Syntax
'Declaration
 
Public Overridable Sub Update( _
   ByVal dataSet As C1DataSet, _
   ByVal dynamicConnections As ConnectionCollection, _
   ByVal beginTransaction As System.Boolean _
) 
public virtual void Update( 
   C1DataSet dataSet,
   ConnectionCollection dynamicConnections,
   System.bool beginTransaction
)

Parameters

dataSet
Data set containing simple table rows. Only rows with C1DataRow.RowState equal to Added, Deleted or Modified need to be updated to the database. After database update, simple table rows in this data set are passed back to the client to refresh the data set for which C1DataSet.Update was called.
dynamicConnections
Connection object substitutes defined in C1DataSet.DynamicConnections property.
beginTransaction
This parameter is set to True by default. It means C1DataObjects performs C1DataSet.Update inside a database transaction. To make it perform Update without using a database transaction, override this method and set this parameter to False. This is needed to support distributed transactions, see Supporting distributed (COM+) transactions.
See Also

Reference

RemoteDataService Class
RemoteDataService Members