共用方式為


ModelTransformExtensionContext 成員

Provides file and project information to Visual Studio extensions that extend the file loading and saving of .edmx files by the Entity Data Model Designer.

下表列出 ModelTransformExtensionContext 型別公開的成員。

受保護的 建構函式

  名稱 說明
ModelTransformExtensionContext Instantiates a new instance of ModelTransformExtensionContext.

頂端

公用 屬性

  名稱 說明
public property CurrentDocument The current .edmx file on which Visual Studio extensions may operate.
public property EntityFrameworkVersion  The targeted version of the Entity Framework . (繼承自 ExtensionContext)
public property Errors A list of errors that can be shown in the Visual Studio Error List when .edmx files are loaded or saved by the Entity Data Model Designer.
public property OriginalDocument The original .edmx file that was loaded into memory.
public property Project  The current Visual Studio project. (繼承自 ExtensionContext)
public property ProjectItem The current Visual Studio project item.

頂端

公用 方法

(另請參閱 受保護的 方法)

  名稱 說明
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)

頂端

另請參閱

參考

ModelTransformExtensionContext 類別
Microsoft.Data.Entity.Design.Extensibility 命名空間

其他資源

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