The ClientTransaction type exposes the following members.

Constructors

  Name Description
Public method ClientTransaction
Initializes a child (nested) transaction, a new instance of the ClientTransaction class with a specified parent transaction.

Methods

  Name Description
Public method Commit
Commits the transaction if it was not committed before. Commits changes that were made while this transaction's scope was open.
Public method Dispose
Disposes of the ClientTransaction.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Rollback
Rolls back the transaction.
Public method Scope
Opens the transaction scope.
Public method ScopeDataContext
Wraps an object so the transaction scope is automatically opened when a value is being assigned to a property of the wrapped object.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property HasChanges
Gets a value indicating whether any changes were made in the scope of this transaction.
Public property State
Gets the state the transaction is in.

Events

  Name Description
Public event PropertyChanged
Occurs when a property value changes, after it has been changed.

See Also