UpdateModelExtensionContext 成员

Provides file and project information to Visual Studio extensions that extend the .edmx file update process of the Update Model Wizard.

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

受保护 构造函数

  名称 说明
UpdateModelExtensionContext Instantiates a new instance of UpdateModelExtensionContext.

顶部

公共 属性

  名称 说明
public property CurrentDocument  Represents the .edmx document to be modified. (继承自 ModelGenerationExtensionContext
public property EntityFrameworkVersion  The targeted version of the 实体框架 . (继承自 ExtensionContext
public property GeneratedDocument  Represents the original .edmx file generated by the Entity Data Model Wizard. (继承自 ModelGenerationExtensionContext
public property OriginalDocument Represents the .edmx file before the Update Model Wizard has run.
public property Project  The current Visual Studio project. (继承自 ExtensionContext
public property ProjectItem The current Visual Studio project item.
public property UpdateModelDocument Represents the .edmx file after the Update Model Wizard has run.
public property WizardKind  The wizard that initiated the .edmx file generation or update process. (继承自 ModelGenerationExtensionContext

顶部

公共 方法

(另请参见 受保护 方法)

  名称 说明
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

顶部

另请参见

参考

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

其他资源

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