WizardKind 枚举
An enumeration that provides information about which wizard started an .edmx file generation or update process.
命名空间: Microsoft.Data.Entity.Design.Extensibility
程序集: Microsoft.Data.Entity.Design.Extensibility(在 microsoft.data.entity.design.extensibility.dll 中)
用法
语法
声明
Public Enumeration WizardKind
public enum WizardKind
public enum class WizardKind
public enum WizardKind
public enum WizardKind
成员
成员名称 | 说明 |
---|---|
Generate | Indicates that the Entity Data Model Wizard started an .edmx file generation process. |
None | Indicates that no wizard started an .edmx file modification process. |
UpdateModel | Indicates that the Update Model Wizard started an .edmx file update process. |
备注
In a Visual Studio extension, the WizardKind enumeration is used when you want to extend the functionality of the Entity Data Model Wizard or the Update Model Wizard. Specifically, the WizardKind enumeration is read from the ModelGenerationExtensionContext class or the UpdateModelExtensionContext class and indicates which wizard (the 实体数据模型 Wizard or the Update Model Wizard) initiated the .edmx file generation or update process.
For more information, Extending the ADO.NET Entity Data Model Tools.
For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.
平台
开发平台
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000
目标平台
另请参见
参考
Microsoft.Data.Entity.Design.Extensibility 命名空间
其他资源
Visual Studio Extensibility Developer Center
.edmx File Overview
Developing Visual Studio Extensions