Provides file and project information to Visual Studio extensions that enable the loading and saving of custom file formats.
以下各表列出了由 ModelConversionExtensionContext 类型公开的成员。
受保护 构造函数
名称 | 说明 | |
---|---|---|
ModelConversionExtensionContext | Creates a new instance of the ModelConversionExtensionContext class. |
顶部
公共 属性
名称 | 说明 | |
---|---|---|
![]() |
CurrentDocument | Returns the .edmx document after it has been converted from a custom file format. |
![]() |
EntityFrameworkVersion | The targeted version of the 实体框架 . (继承自 ExtensionContext) |
![]() |
Errors | A list of errors that can be shown in the Visual Studio Error List when loading a custom file format and converting it to a custom file format. |
![]() |
FileInfo | Returns information about the custom file being processed by the Entity Data Model Designer. |
![]() |
OriginalDocument | Returns the original document as opened or saved by the Entity Designer. |
![]() |
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) |
顶部
另请参见
参考
ModelConversionExtensionContext 类
Microsoft.Data.Entity.Design.Extensibility 命名空间
其他资源
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions
.edmx File Overview