PropertyExtensionContext 成员

Provides file and project information to Visual Studio extensions that add custom properties to objects visible in the Entity Data Model Designer or the Model Browser.

以下各表列出了由 PropertyExtensionContext 类型公开的成员。

受保护 构造函数

  名称 说明
PropertyExtensionContext Creates a new instance of the PropertyExtensionContext class.

顶部

公共 属性

  名称 说明
public property EntityFrameworkVersion  The targeted version of the 实体框架 . (继承自 ExtensionContext
public property Project  The current Visual Studio project. (继承自 ExtensionContext
public property ProjectItem The current Visual Studio project item.

顶部

公共 方法

(另请参见 受保护 方法)

  名称 说明
public method CreateChangeScope Creates an EntityDesignerChangeScope object and sets the string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.
public method Equals  已重载。(继承自 Object
public method GetHashCode  (继承自 Object
public method GetType  (继承自 Object
public methodstatic ReferenceEquals  (继承自 Object
public method ToString  (继承自 Object

顶部

受保护 方法

  名称 说明
protected method Finalize  (继承自 Object
protected method MemberwiseClone  (继承自 Object

顶部

另请参见

参考

PropertyExtensionContext 类
Microsoft.Data.Entity.Design.Extensibility 命名空间

其他资源

Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions
.edmx File Overview