Espacio de nombres Microsoft.Data.Entity.Design.Extensibility

The Microsoft.Data.Entity.Design.Extensibility namespace contains classes that allow you to extend the functionality of the ADO.NET Entity Data Model Tools.

Classes in the Microsoft.Data.Entity.Design.Extensibility namespace allow you to extend and customize the functionality of the Entity Data Model Designer, the Entity Data Model Wizard, and the Update Wizard. Specifically, the IModelGenerationExtension interface can be used to customize the generation and update processes of .edmx files. The IEntityDesignerExtendedProperty interface can be used to add properties to objects that are defined in .edmx files. The IModelConversionExtension and IModelTransformExtension interfaces can be used to customize the loading and saving of files, including custom file formats.

Ee373943.note(es-es,VS.100).gifNota:
Classes in the Microsoft.Data.Entity.Design.Extensibility namespace cannot be used to customize the generation of object-layer code or the generation of data description language (DDL). For more information, see How to: Customize Object-Layer Code Generation and How to: Customize Database Generation.

Clases

Clase Descripción
EntityDesignerChangeScope Creates a unit of work that can be undone or redone with the Undo and Redo buttons in Visual Studio.
EntityDesignerExtendedPropertyAttribute Specifies objects in the Entity Data Model Designer or the Model Browser that, when selected by a user, cause the CreateProperty method of the annotated class to be called.
ExtensionContext A base class for the ModelGenerationExtensionContext, PropertyExtensionContext, ModelTransformExtensionContext and ModelConversionExtensionContext classes.
ExtensionError Encapsulates custom error information for Visual Studio extensions that extend the functionality of the Entity Data Model Designer.
ModelConversionExtensionContext Provides file and project information to Visual Studio extensions that enable the loading and saving of custom file formats.
ModelFileExtensionAttribute Specifies a custom file extension that can be loaded or saved by the Entity Data Model Designer.
ModelGenerationExtensionContext Provides file and project information to Visual Studio extensions that extend the .edmx file generation process of the Entity Data Model Wizard.
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.
PropertyExtensionContext Provides file and project information to Visual Studio extensions that add custom properties to objects visible in the Entity Data Model Designer or the Model Browser.
UpdateModelExtensionContext Provides file and project information to Visual Studio extensions that extend the .edmx file update process of the Update Model Wizard.

Interfaces

Interfaz Descripción
IEntityDesignerConversionData Microsoft internal use only.
IEntityDesignerExtendedProperty Exposes methods for adding properties to objects that are visible to a user in the Entity Data Model Designer or the Model Browser.
IEntityDesignerPropertyData Microsoft internal use only.
IModelConversionExtension Exposes methods for converting a custom file format to and from the .edmx file format that is readable by the Entity Data Model Designer.
IModelGenerationExtension Exposes methods for customizing the generation of .edmx files.
IModelTransformExtension Exposes methods for extending the loading and saving processes of .edmx files.

Enumeraciones

Enumeración Descripción
EntityDesignerSelection An enumeration used to specify which object types that, when selected in the Entity Data Model Designer or the Model Browser, cause the CreateProperty method of the annotated class to be called.
ExtensionErrorSeverity An enumeration that describes the severity of an ExtensionError.
WizardKind An enumeration that provides information about which wizard started an .edmx file generation or update process.

Change History