Export (0) Print
Expand All

Microsoft.Data.Entity.Design.Extensibility Namespace

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.

NoteNote:

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.

  ClassDescription
Public classEntityDesignerChangeScopeCreates a unit of work that can be undone or redone with the Undo and Redo buttons in Visual Studio.
Public classEntityDesignerExtendedPropertyAttributeSpecifies 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.
Public classExtensionContextA base class for the ModelGenerationExtensionContext, PropertyExtensionContext, ModelTransformExtensionContext and ModelConversionExtensionContext classes.
Public classExtensionErrorEncapsulates custom error information for Visual Studio extensions that extend the functionality of the Entity Data Model Designer.
Public classModelConversionExtensionContextProvides file and project information to Visual Studio extensions that enable the loading and saving of custom file formats.
Public classModelFileExtensionAttributeSpecifies a custom file extension that can be loaded or saved by the Entity Data Model Designer.
Public classModelGenerationExtensionContextProvides file and project information to Visual Studio extensions that extend the .edmx file generation process of the Entity Data Model Wizard.
Public classModelTransformExtensionContextProvides file and project information to Visual Studio extensions that extend the file loading and saving of .edmx files by the Entity Data Model Designer.
Public classPropertyExtensionContextProvides 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.
Public classUpdateModelExtensionContextProvides file and project information to Visual Studio extensions that extend the .edmx file update process of the Update Model Wizard.

  InterfaceDescription
Public interfaceIEntityDesignerConversionDataMicrosoft internal use only.
Public interfaceIEntityDesignerExtendedPropertyExposes methods for adding properties to objects that are visible to a user in the Entity Data Model Designer or the Model Browser.
Public interfaceIEntityDesignerPropertyDataMicrosoft internal use only.
Public interfaceIModelConversionExtensionExposes methods for converting a custom file format to and from the .edmx file format that is readable by the Entity Data Model Designer.
Public interfaceIModelGenerationExtensionExposes methods for customizing the generation of .edmx files.
Public interfaceIModelTransformExtensionExposes methods for extending the loading and saving processes of .edmx files.

  EnumerationDescription
Public enumerationEntityDesignerSelectionAn 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.
Public enumerationExtensionErrorSeverityAn enumeration that describes the severity of an ExtensionError.
Public enumerationWizardKindAn enumeration that provides information about which wizard started an .edmx file generation or update process.
Show:
© 2014 Microsoft