CommitFailureHandler.Initialize Method
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.
Overloads
Initialize(ObjectContext) |
Initializes this instance using the specified context. |
Initialize(DbContext, DbConnection) |
Initializes this instance using the specified context. |
Initialize(ObjectContext)
Initializes this instance using the specified context.
public override void Initialize (System.Data.Entity.Core.Objects.ObjectContext context);
override this.Initialize : System.Data.Entity.Core.Objects.ObjectContext -> unit
Public Overrides Sub Initialize (context As ObjectContext)
Parameters
- context
- ObjectContext
The context for which transaction operations will be handled.
Applies to
Initialize(DbContext, DbConnection)
Initializes this instance using the specified context.
public override void Initialize (System.Data.Entity.DbContext context, System.Data.Common.DbConnection connection);
override this.Initialize : System.Data.Entity.DbContext * System.Data.Common.DbConnection -> unit
Public Overrides Sub Initialize (context As DbContext, connection As DbConnection)
Parameters
- context
- DbContext
The context for which transaction operations will be handled.
- connection
- DbConnection
The connection to use for the initialization.
Applies to
Entity Framework