HistoryContext.DefaultSchema 属性
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
获取要迁移的模型的默认架构。 如果未在 OnModelCreating 中配置另一架构,则此架构将用于迁移历史记录表。
命名空间: System.Data.Entity.Migrations.History
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
Protected ReadOnly Property DefaultSchema As String
Get
用法
Dim value As String
value = Me.DefaultSchema
protected string DefaultSchema { get; }
protected:
property String^ DefaultSchema {
String^ get ();
}
member DefaultSchema : string
function get DefaultSchema () : String