ExtensionContext.EntityFrameworkVersion 属性

The targeted version of the 实体框架 .

命名空间: Microsoft.Data.Entity.Design.Extensibility
程序集: Microsoft.Data.Entity.Design.Extensibility(在 microsoft.data.entity.design.extensibility.dll 中)

用法

语法

声明
Public MustOverride ReadOnly Property EntityFrameworkVersion As Version
public abstract Version EntityFrameworkVersion { get; }
public:
virtual property Version^ EntityFrameworkVersion {
    Version^ get () abstract;
}
/** @property */
public abstract Version get_EntityFrameworkVersion ()
public abstract function get EntityFrameworkVersion () : Version

属性值

The targeted version of the 实体框架 .

备注

A value of 1 corresponds to the 实体框架 version that was included in the .NET Framework version 3.5 SP1. A value of 2 corresponds to the 实体框架 version that was included in the .NET Framework 4.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 共享)成员都是线程安全的。不保证所有实例成员都是线程安全的。

平台

开发平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000

目标平台

另请参见

参考

ExtensionContext 类
ExtensionContext 成员
Microsoft.Data.Entity.Design.Extensibility 命名空间