Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Note Note

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.

  Class Description
Public class ChangeEntityDesignerSelectionEventArgs Defines an EventArgs type that allows extenders of the Entity Designer to drive selection programmatically
Public class EntityDesignerChangeScope Creates a unit of work that can be undone or redone with the Undo and Redo buttons in Visual Studio.
Public class 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.
Public class EntityDesignerLayerAttribute Microsoft Internal Use Only. Attribute used to specify that an Extension belongs to a particular layer
Public class ExtensionContext A base class for the ModelGenerationExtensionContext, PropertyExtensionContext, ModelTransformExtensionContext and ModelConversionExtensionContext classes.
Public class ExtensionError Encapsulates custom error information for Visual Studio extensions that extend the functionality of the Entity Data Model Designer.
Public class ModelConversionExtensionContext Provides file and project information to Visual Studio extensions that enable the loading and saving of custom file formats.
Public class ModelFileExtensionAttribute Specifies a custom file extension that can be loaded or saved by the Entity Data Model Designer.
Public class ModelGenerationExtensionContext Provides file and project information to Visual Studio extensions that extend the .edmx file generation process of the Entity Data Model Wizard.
Public class 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.
Public class 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.
Public class UpdateModelExtensionContext Provides file and project information to Visual Studio extensions that extend the .edmx file update process of the Update Model Wizard.
  Interface Description
Public interface IEntityDesignerConversionData Microsoft internal use only.
Public interface IEntityDesignerExtendedProperty Exposes methods for adding properties to objects that are visible to a user in the Entity Data Model Designer or the Model Browser.
Public interface IEntityDesignerLayer Microsoft Internal Use Only. This class allows the notion of a 'layer' in the Entity Designer. Layers can be turned off and on; they are composed of: (1) Simple Metadata about the feature (2) Commands that can be executed against the feature (3) Core property extensions (4) Simple event sinks for operations that occur in the designer (5) Basic selection mechanism drivers
Public interface IEntityDesignerLayerData Parent interface used by the LayerManager to distinguish different layers.
Public interface IEntityDesignerPropertyData Microsoft internal use only.
Public interface 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.
Public interface IModelGenerationExtension Exposes methods for customizing the generation of .edmx files.
Public interface IModelTransformExtension Exposes methods for extending the loading and saving processes of .edmx files.
  Enumeration Description
Public enumeration 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.
Public enumeration ExtensionErrorSeverity An enumeration that describes the severity of an ExtensionError.
Public enumeration WizardKind An enumeration that provides information about which wizard started an .edmx file generation or update process.
Public enumeration WizardStage Indicates whether the Wizard Extension Page occurs in the wizard before or after model generation.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.