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

EntityDesignerSelection Enumeration

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.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Data.Entity.Design.Extensibility
Assembly:  Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
[FlagsAttribute]
public enum EntityDesignerSelection
Member nameDescription
DesignerSurfaceSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when the Entity Data Model Designer surface is selected in the Entity Data Model Designer.
ConceptualModelEntitySetSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model entity set is selected in the Model Browser.
ConceptualModelAssociationSetSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model association set is selected in the Model Browser.
ConceptualModelEntityContainerSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model entity container is selected in the Model Browser.
ConceptualModelEntityTypeSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model entity type is selected in the Entity Data Model Designer or the Model Browser.
ConceptualModelPropertySpecifies that the CreateProperty method should be called when a conceptual model property is selected in the Entity Data Model Designer or the Model Browser.
ConceptualModelNavigationPropertySpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model navigation property is selected in the Entity Data Model Designer or the Model Browser.
ConceptualModelAssociationSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model association is selected in the Entity Data Model Designer or the Model Browser.
ConceptualModelComplexTypeSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model complex type is selected in the Entity Data Model Designer or the Model Browser.
ConceptualModelComplexPropertySpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model complex property is selected in the Model Browser.
ConceptualModelFunctionImportSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model function import is selected in the Model Browser.
ConceptualModelFunctionImportParameterSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model function import parameter is selected in the Model Browser.
StorageModelEntityContainerSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model entity container is selected in the Model Browser.
StorageModelEntityTypeSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model entity type is selected in the Model Browser.
StorageModelPropertySpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model property is selected in the Model Browser.
StorageModelAssociationSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model association is selected in the Model Browser.
StorageModelFunctionSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model function is selected in the Model Browser.
StorageModelFunctionParameterSpecifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model function parameter is selected in the Model Browser.

In a Visual Studio extension, the EntityDesignerSelection enumeration is used when extending the functionality of the Entity Data Model Designer (Entity Designer). Specifically, the EntityDesignerExtendedPropertyAttribute is used to annotate classes that implement the IEntityDesignerExtendedProperty interface. The EntityDesignerExtendedPropertyAttribute constructor accepts a parameter of type EntityDesignerSelection that specifies which objects, when selected in the Entity Data Model Designer or the Model Browser, cause the CreateProperty method of the annotated class to be called.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.