HistoryRow.MigrationId 属性

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

获取或设置此行表示的迁移的 ID。

命名空间:  System.Data.Entity.Migrations.History
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public Property MigrationId As String 
    Get 
    Set
用法
Dim instance As HistoryRow 
Dim value As String 

value = instance.MigrationId

instance.MigrationId = value
public string MigrationId { get; set; }
public:
property String^ MigrationId {
    String^ get ();
    void set (String^ value);
}
member MigrationId : string with get, set
function get MigrationId () : String 
function set MigrationId (value : String)

属性值

类型:System.String

请参阅

参考

HistoryRow 类

System.Data.Entity.Migrations.History 命名空间