Export (0) Print
Expand All

DbTransaction.Dispose Method

Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Dispose() Releases the unmanaged resources used by the DbTransaction.
Protected method Supported by the XNA Framework Dispose(Boolean) Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources.
Top

Dispose should rollback the transaction. However, the behavior of Dispose is provider specific, and should not replace calling Rollback.

Show:
© 2015 Microsoft