SqlCeTransaction Class
Visual Studio 2010
Represents an SQL transaction to be made at a data source. This class cannot be inherited.
System::Object
System::MarshalByRefObject
System.Data.Common::DbTransaction
System.Data.SqlServerCe::SqlCeTransaction
System::MarshalByRefObject
System.Data.Common::DbTransaction
System.Data.SqlServerCe::SqlCeTransaction
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
The SqlCeTransaction type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Connection | (inherited from DbTransaction) |
![]() | CurrentTransactionBsn | Gets the begin sequence number (BSN) for the transaction. |
![]() | DbConnection | (inherited from DbTransaction) |
![]() | IsolationLevel | Specifies the IsolationLevel for this transaction. (Overrides DbTransaction::IsolationLevel.) |
![]() | TrackingContext | Gets or sets application-specific context information that is associated by the transaction with tracked operations on a SQL Server Compact database table. |
| Name | Description | |
|---|---|---|
![]() | Commit() | Commits the database transaction. (Overrides DbTransaction::Commit().) |
![]() | Commit(CommitMode) | Commits the database transaction using the specified CommitMode. |
![]() | CreateObjRef | (inherited from MarshalByRefObject) |
![]() | Dispose() | Releases all SqlCeConnection objects associated with the transaction. |
![]() | Dispose(Boolean) | (inherited from DbTransaction) |
![]() | Equals | (inherited from Object) |
![]() | Finalize | (inherited from Object) |
![]() | GetHashCode | (inherited from Object) |
![]() | GetLifetimeService | (inherited from MarshalByRefObject) |
![]() | GetType | (inherited from Object) |
![]() | InitializeLifetimeService | (inherited from MarshalByRefObject) |
![]() | MemberwiseClone() | (inherited from Object) |
![]() | MemberwiseClone(Boolean) | (inherited from MarshalByRefObject) |
![]() | Rollback | Rolls back a transaction from a pending state. (Overrides DbTransaction::Rollback().) |
![]() | ToString | (inherited from Object) |
You create a SqlCeTransaction object in your application by calling BeginTransaction on the SqlCeConnection object. All subsequent operations associated with the transaction (for example, committing or canceling the transaction), are performed on the SqlCeTransaction object.
Show:

