Énumération 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.
Espace de noms: Microsoft.Data.Entity.Design.Extensibility
Assembly : Microsoft.Data.Entity.Design.Extensibility (dans microsoft.data.entity.design.extensibility.dll)
Utilisation
Syntaxe
'Déclaration
<FlagsAttribute> _
Public Enumeration EntityDesignerSelection
[FlagsAttribute]
public enum EntityDesignerSelection
[FlagsAttribute]
public enum class EntityDesignerSelection
/** @attribute FlagsAttribute() */
public enum EntityDesignerSelection
FlagsAttribute
public enum EntityDesignerSelection
Membres
Nom de membre | Description |
---|---|
ConceptualModelAssociation | Specifies 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. |
ConceptualModelAssociationSet | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model association set is selected in the Model Browser. |
ConceptualModelComplexProperty | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model complex property is selected in the Model Browser. |
ConceptualModelComplexType | Specifies 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. |
ConceptualModelEntityContainer | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model entity container is selected in the Model Browser. |
ConceptualModelEntitySet | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model entity set is selected in the Model Browser. |
ConceptualModelEntityType | Specifies 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. |
ConceptualModelFunctionImport | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model function import is selected in the Model Browser. |
ConceptualModelFunctionImportParameter | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a conceptual model function import parameter is selected in the Model Browser. |
ConceptualModelNavigationProperty | Specifies 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. |
ConceptualModelProperty | Specifies that the CreateProperty method should be called when a conceptual model property is selected in the Entity Data Model Designer or the Model Browser. |
DesignerSurface | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when the Entity Data Model Designer surface is selected in the Entity Data Model Designer. |
StorageModelAssociation | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model association is selected in the Model Browser. |
StorageModelEntityContainer | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model entity container is selected in the Model Browser. |
StorageModelEntityType | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model entity type is selected in the Model Browser. |
StorageModelFunction | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model function is selected in the Model Browser. |
StorageModelFunctionParameter | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model function parameter is selected in the Model Browser. |
StorageModelProperty | Specifies that the IEntityDesignerExtendedProperty.CreateProperty method should be called when a storage model property is selected in the Model Browser. |
Notes
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.
Plateformes
Plateformes de développement
Windows XP Édition familiale, Windows XP Professionnel, Windows Server 2003 , Windows Server 2008 et Windows 2000
Plateformes cibles
Voir aussi
Référence
Espace de noms Microsoft.Data.Entity.Design.Extensibility
Autres ressources
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions
.edmx File Overview