Delta Class
From RemObjects Software
This is a Data Abstract Architecture entry
Feel free to add your notes to this topic below.
Overview (.NET)
Contains a collection of DeltaChange items.
This collection maintains a list of inserted, deleted and updated rows in a DataTable. It's used by Data Abstract clients to send the modified rows back to the server and by the server to process the updates. Deltas on the client are automatically created when RemoteDataAdapter.Update is called.
Namespace
Declaration (C#)
public class Delta : Collection<DeltaChange>, INamedObject;
Hierarchy
- Collection
- RemObjects.DataAbstract.Delta
Properties
| | | |
|---|---|---|
| CurrentChangeID | Integer | Returns the ChangeID which the next DeltaChange will get when adding a new entry to this Delta. |
| Name | String | Name of this Delta.
When sending the changes back to the server, the name is used to find the Data Table to which these updates belong. By default this is set to name of the Data Table. |
| Schema | SchemaDataTable | Specifies the Delta's owning SchemaDataTable.
When creating the Delta class, this is passed as a parameter and the name is used for the name of this delta. On the server, the BusinessProcessor uses this to identify the table to which this delta belongs. |
Methods
| | |
|---|---|
| Add | Add a new DeltaChange to this collection.
Returns the new instance of the created DeltaChange. |
| Delta | Default constructor for Delta. |
| GetDataTableSchema | Returns the SchemaDataTable for a given DataTable, or null if the DataTable doesn't have a SchemaDataTable. |
| GetFieldIndexInValueArray | Returns the index for a field in the table belonging to this delta.
The index can be used in to get and set the values in DeltaChange. This value is retrieved from the SchemaDataTable class associated with this delta. |
See Also
Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)
Lists — Glossary — Features — How To — Drivers — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | Data Abstract | Architecture | Class | .NET
