DbModelBuilderVersionAttribute.Version 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得 DbModelBuilder 慣例版本。
命名空間: System.Data.Entity
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Property Version As DbModelBuilderVersion
Get
Private Set
'用途
Dim instance As DbModelBuilderVersionAttribute
Dim value As DbModelBuilderVersion
value = instance.Version
public DbModelBuilderVersion Version { get; private set; }
public:
property DbModelBuilderVersion Version {
DbModelBuilderVersion get ();
private: void set (DbModelBuilderVersion value);
}
member Version : DbModelBuilderVersion with get, private set
function get Version () : DbModelBuilderVersion
private function set Version (value : DbModelBuilderVersion)
屬性值
類型:System.Data.Entity.DbModelBuilderVersion
DbModelBuilder 慣例版本。