Export (0) Print
Expand All

IEntityDesignerLayer Interface

Entity Framework 5.0

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

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

public interface IEntityDesignerLayer

The IEntityDesignerLayer type exposes the following members.

  NameDescription
Public propertyIsSealed Microsoft Internal Use Only. Determines where third-party property extensions can subscribe to this layer
Public propertyName Microsoft Internal Use Only. The name of the layer
Public propertyProperties Microsoft Internal Use Only. Core property extensions that are automatically subscribed to this feature.
Public propertyServiceProvider Microsoft Internal Use Only. 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.
Top

  NameDescription
Public methodOnAfterLayerLoaded Microsoft Internal Use Only. Fired after the layer is loaded. The xObject here represents the selected object in the active designer or conceptual model if nothing is selected.
Public methodOnAfterTransactionCommitted Microsoft Internal Use Only. Gets fired when a transaction is committed. A layer extension can take basic actions in this case such as reloading an owning tool window.
Public methodOnBeforeLayerUnloaded Microsoft Internal Use Only. Fired before the layer is unloaded. The XObject here represents the conceptual model
Public methodOnSelectionChanged Microsoft Internal Use Only. Fired when selection is changed on the designer surface
Top

  NameDescription
Public eventChangeEntityDesignerSelection Microsoft Internal Use Only. Change the selection on the entity designer. The selection identifier here corresponds to either 'EntityName', 'AssociationName', or 'EntityName.PropertyName'.
Top
Show:
© 2014 Microsoft