DbContextTransaction 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.
public class DbContextTransaction : IDisposable
type DbContextTransaction = class
interface IDisposable
Public Class DbContextTransaction
Implements IDisposable
- Inheritance
-
DbContextTransaction
- Implements
Properties
UnderlyingTransaction |
Gets the database (store) transaction that is underlying this context transaction. |
Methods
Commit() |
Commits the underlying store transaction |
Dispose() |
Cleans up this transaction object and ensures the Entity Framework is no longer using that transaction. |
Dispose(Boolean) |
Releases the resources used by this transaction object |
Equals(Object) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
GetType() | Gets the Type of the current instance. |
Rollback() |
Rolls back the underlying store transaction |
ToString() | Returns a string that represents the current object. |
Applies to
Entity Framework