ExecutionStrategyContext ExecutionStrategyContext Class

A class that provides dependencies for ExecutionStrategy

Syntax

Declaration

public class ExecutionStrategyContextPublic Class ExecutionStrategyContext

Inheritance Hierarchy

  • System.Object
    System.Object
  • ExecutionStrategyContext
    ExecutionStrategyContext

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Creates a new instance of ExecutionStrategyContext.

Properties summary

The context on which the operations will be invoked.

The logger for the ExecutionStrategy.

Constructors

  • ExecutionStrategyContext(DbContext, ILogger<IExecutionStrategy>)
    ExecutionStrategyContext(DbContext, ILogger(Of IExecutionStrategy))

    Creates a new instance of ExecutionStrategyContext.

    public ExecutionStrategyContext(DbContext context, ILogger<IExecutionStrategy> logger)Public Sub New(context As DbContext, logger As ILogger(Of IExecutionStrategy))

    Parameters

Properties

  • Context
    Context

    The context on which the operations will be invoked.

    public virtual DbContext Context { get; }Public Overridable ReadOnly Property Context As DbContext

    Property Value

  • Logger
    Logger

    The logger for the ExecutionStrategy.

    public virtual ILogger<IExecutionStrategy> Logger { get; }Public Overridable ReadOnly Property Logger As ILogger(Of IExecutionStrategy)

    Property Value

Details

Assembly

Microsoft.EntityFrameworkCore.dll