Share via


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

See Also

Reference

ExtensionContext Class

ExtensionContext Members

Microsoft.Data.Entity.Design.Extensibility Namespace