The following tables list the members exposed by IEditableDataSource.
Name | Description | |
---|---|---|
CanCommit | Gets whether a commit is possible. | |
CanRedo | Gets whether redo is possible. | |
CanUndo | Gets whether undo is possible. | |
IsBatchingEnabled | Gets or sets whether batch edits are enabled. | |
IsReadOnly | Gets or sets whether the data source is read-only or not. |
Name | Description | |
---|---|---|
AcceptPendingCommit | Accepts a pending commit. | |
AcceptPendingTransaction | Accept a specific pending transaction. | |
AddItem | Adds the provided item to the data source. | |
CancelEdits | Cancels all the current edits. | |
CommitEdits | Commit the current edits to the datasource. | |
GetAggregatedChanges | Returns a set of changes that have been made to the data however have not been committed yet. | |
GetTransactionErrorByID | Returns an error, if any, associated with a specific transaction. | |
GetTransactionErrorByKey | Returns an error, if any, associated with the provided key and property pair that exists in the current pending transactions. | |
GetTransactionID | Returns the ID of the pending transaction associated with the key and property pair. | |
HasAdd | Returns whether the item is an uncommitted add. | |
HasDelete | Returns whether the item has an uncommitted delete. | |
HasEdit | Returns whether the data source contains an uncommitted edit for a specific property. | |
IsPendingCommit | Returns whether a commit is pending or not. | |
IsPendingTransaction | Returns whether a transaction pending or not. | |
Redo | Redo the last undo. | |
RejectPendingCommit | Reject a pending commit. | |
RejectPendingTransaction | Rejects a pending transaction. | |
RemoveItem | Removes an item from the datasource. | |
RemoveItemByKey | Removes an item with the specified key. | |
SetTransactionError | Associate an error with a specific pending transaction. | |
Undo | Undo the last edit. | |
UpdatePropertyAtKey | Updates the value of a property in an item that matches the specified. |
Name | Description | |
---|---|---|
DataCommitted | Event raised when a commit has completed. |