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 实体框架 . (继承自 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