共用方式為


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 Entity Framework . (繼承自 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