EntityTransaction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class representing a transaction for the conceptual layer
public class EntityTransaction : System.Data.Common.DbTransaction
type EntityTransaction = class
inherit DbTransaction
Public Class EntityTransaction
Inherits DbTransaction
- Inheritance
-
EntityTransaction
Properties
Connection |
Gets EntityConnection for this EntityTransaction . |
DbConnection |
The connection object owning this transaction object |
IsolationLevel |
Gets the isolation level of this EntityTransaction. |
StoreTransaction |
Gets the DbTransaction for the underlying provider transaction. |
Methods
Commit() |
Commits the underlying transaction. |
Dispose(Boolean) |
Cleans up this transaction object |
Rollback() |
Rolls back the underlying transaction. |
Applies to
Entity Framework