DbContextOptions.ContextType 属性

定义

这些选项的上下文类型。 如果未为特定派生上下文生成选项,则会返回 DbContext

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

属性值

适用于