ExtensionContext.EntityFrameworkVersion Property
The targeted version of the Entity Framework.
Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property EntityFrameworkVersion As Version
Get
'Usage
Dim instance As ExtensionContext
Dim value As Version
value = instance.EntityFrameworkVersion
public abstract Version EntityFrameworkVersion { get; }
public:
virtual property Version^ EntityFrameworkVersion {
Version^ get () abstract;
}
abstract function get EntityFrameworkVersion () : Version
Property Value
Type: System.Version
The targeted version of the Entity Framework.
Remarks
A value of 1 corresponds to the Entity Framework version that was included in the .NET Framework version 3.5 SP1. A value of 2 corresponds to the Entity Framework version that was included in the .NET Framework 4.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.