Version

IEditableDataSource Interface Members

The following tables list the members exposed by IEditableDataSource.

Public Properties
 NameDescription
 PropertyCanCommitGets whether a commit is possible.  
 PropertyCanRedoGets whether redo is possible.  
 PropertyCanUndoGets whether undo is possible.  
 PropertyIsBatchingEnabledGets or sets whether batch edits are enabled.  
 PropertyIsReadOnlyGets or sets whether the data source is read-only or not.  
Public Methods
 NameDescription
 MethodAcceptPendingCommitAccepts a pending commit.  
 MethodAcceptPendingTransactionAccept a specific pending transaction.  
 MethodAddItemAdds the provided item to the data source.  
 MethodCancelEditsCancels all the current edits.  
 MethodCommitEditsCommit the current edits to the datasource.  
 MethodGetAggregatedChangesReturns a set of changes that have been made to the data however have not been committed yet.  
 MethodGetTransactionErrorByIDReturns an error, if any, associated with a specific transaction.  
 MethodGetTransactionErrorByKeyReturns an error, if any, associated with the provided key and property pair that exists in the current pending transactions.  
 MethodGetTransactionIDReturns the ID of the pending transaction associated with the key and property pair.  
 MethodHasAddReturns whether the item is an uncommitted add.  
 MethodHasDeleteReturns whether the item has an uncommitted delete.  
 MethodHasEditReturns whether the data source contains an uncommitted edit for a specific property.  
 MethodIsPendingCommitReturns whether a commit is pending or not.  
 MethodIsPendingTransactionReturns whether a transaction pending or not.  
 MethodRedoRedo the last undo.  
 MethodRejectPendingCommitReject a pending commit.  
 MethodRejectPendingTransactionRejects a pending transaction.  
 MethodRemoveItemRemoves an item from the datasource.  
 MethodRemoveItemByKeyRemoves an item with the specified key.  
 MethodSetTransactionErrorAssociate an error with a specific pending transaction.  
 MethodUndoUndo the last edit.  
 MethodUpdatePropertyAtKeyUpdates the value of a property in an item that matches the specified.  
Public Events
 NameDescription
 EventDataCommittedEvent raised when a commit has completed.  
See Also