DbMigrationsConfiguration.ContextType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置表示要迁移的模型的派生 DbContext。
public Type ContextType { get; set; }
member this.ContextType : Type with get, set
Public Property ContextType As Type
属性值
适用于