ModelConversionExtensionContext 成员

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.

顶部

公共 属性

  名称 说明
public property CurrentDocument Returns the .edmx document after it has been converted from a custom file format.
public property EntityFrameworkVersion  The targeted version of the 实体框架 . (继承自 ExtensionContext
public property 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.
public property FileInfo Returns information about the custom file being processed by the Entity Data Model Designer.
public property OriginalDocument Returns the original document as opened or saved by the Entity Designer.
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

顶部

另请参见

参考

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

其他资源

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