DbContextOptions.ContextType Property

Definition

The type of context that these options are for. Will return DbContext if the options are not built for a specific derived context.

public abstract Type ContextType { get; }
member this.ContextType : Type
Public MustOverride ReadOnly Property ContextType As Type

Property Value

Applies to