IEntityDesignerLayer Interface

 

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

Namespace:   Microsoft.Data.Entity.Design.Extensibility
Assembly:  Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)

public interface IEntityDesignerLayer

NameDescription
System_CAPS_pubpropertyIsSealed

Determines where third-party property extensions can subscribe to this layer

System_CAPS_pubpropertyName

The name of the layer

System_CAPS_pubpropertyProperties

Core property extensions that are automatically subscribed to this feature.

System_CAPS_pubpropertyServiceProvider

A layer can provide its own service provider for selection purposes. Currently the limitation is that a layer can only proffer one sited service provider.

NameDescription
System_CAPS_pubmethodOnAfterLayerLoaded(XObject)

Fired after the layer is loaded.

System_CAPS_pubmethodOnAfterTransactionCommitted(IEnumerable<Tuple<XObject, XObjectChange>>)

Gets fired when a transaction is committed. A layer extension can take basic actions in this case such as reloading an owning tool window.

System_CAPS_pubmethodOnBeforeLayerUnloaded(XObject)

Fired before the layer is unloaded.

System_CAPS_pubmethodOnSelectionChanged(XObject)

Fired when selection is changed on the designer surface

NameDescription
System_CAPS_pubeventChangeEntityDesignerSelection

Change the selection on the entity designer. The selection identifier here corresponds to either 'EntityName', 'AssociationName', or 'EntityName.PropertyName'.