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. |
頂端
公用 屬性
| 名稱 | 說明 | |
|---|---|---|
![]() |
CurrentDocument | The current .edmx file on which Visual Studio extensions may operate. |
![]() |
EntityFrameworkVersion | The targeted version of the Entity Framework . (繼承自 ExtensionContext) |
![]() |
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. |
![]() |
OriginalDocument | The original .edmx file that was loaded into memory. |
![]() |
Project | The current Visual Studio project. (繼承自 ExtensionContext) |
![]() |
ProjectItem | The current Visual Studio project item. |
頂端
公用 方法
(另請參閱 受保護的 方法)
| 名稱 | 說明 | |
|---|---|---|
![]() |
Equals | 多載。 (繼承自 Object) |
![]() |
GetHashCode | (繼承自 Object) |
![]() |
GetType | (繼承自 Object) |
![]() ![]() |
ReferenceEquals | (繼承自 Object) |
![]() |
ToString | (繼承自 Object) |
頂端
受保護的 方法
| 名稱 | 說明 | |
|---|---|---|
![]() |
Finalize | (繼承自 Object) |
![]() |
MemberwiseClone | (繼承自 Object) |
頂端
另請參閱
參考
ModelTransformExtensionContext 類別
Microsoft.Data.Entity.Design.Extensibility 命名空間
其他資源
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions
.edmx File Overview
.gif)
.gif)
.gif)
.gif)