Provides file and project information to Visual Studio extensions that extend the .edmx file generation process of the Entity Data Model Wizard.
以下各表列出了由 ModelGenerationExtensionContext 类型公开的成员。
受保护 构造函数
| 名称 | 说明 | |
|---|---|---|
| ModelGenerationExtensionContext | Instantiates a new instance of the ModelGenerationExtensionContext class. | 
顶部
公共 属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | CurrentDocument | Represents the .edmx document to be modified. | 
| .gif) | EntityFrameworkVersion | The targeted version of the 实体框架 . (继承自 ExtensionContext) | 
| .gif) | GeneratedDocument | Represents the original .edmx file generated by the Entity Data Model Wizard. | 
| .gif) | Project | The current Visual Studio project. (继承自 ExtensionContext) | 
| .gif) | WizardKind | The wizard that initiated the .edmx file generation or update process. | 
顶部
公共 方法
(另请参见 受保护 方法)
| 名称 | 说明 | |
|---|---|---|
| .gif) | Equals | 已重载。(继承自 Object) | 
| .gif) | GetHashCode | (继承自 Object) | 
| .gif) | GetType | (继承自 Object) | 
| .gif) .gif) | ReferenceEquals | (继承自 Object) | 
| .gif) | ToString | (继承自 Object) | 
顶部
受保护 方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Finalize | (继承自 Object) | 
| .gif) | MemberwiseClone | (继承自 Object) | 
顶部
另请参见
参考
ModelGenerationExtensionContext 类
Microsoft.Data.Entity.Design.Extensibility 命名空间
其他资源
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions
.edmx File Overview