Exemple #1
0
 // <summary>
 //     Redirects to our command selection handler
 // </summary>
 private void OnEntityDesignerSelectionChanged(EntityDesignerSelection selection)
 {
     if (_currentMappingDetailsInfo != null)
     {
         _currentMappingDetailsInfo.SelectionSource = EntityMappingSelectionSource.EntityDesigner;
     }
     ProcessSelectionFromOtherWindows(selection);
 }
 /// <summary>
 ///     Instantiates a new instance of the
 ///     <see
 ///         cref="T:Microsoft.Data.Entity.Design.Extensibility.EntityDesignerExtendedPropertyAttribute" />
 ///     class.
 /// </summary>
 /// <param name="entityDesignerSelection">
 ///     The object in the Entity Data Model Designer or the Model Browser that, when selected by a user, triggers the call of the
 ///     <see
 ///         cref="M:Microsoft.Data.Entity.Design.Extensibility.IEntityDesignerExtendedProperty.CreateProperty" />
 ///     method.
 /// </param>
 public EntityDesignerExtendedPropertyAttribute(EntityDesignerSelection entityDesignerSelection)
 {
     _entityDesignerSelection = entityDesignerSelection;
 }
 /// <summary>
 ///     Instantiates a new instance of the
 ///     <see
 ///         cref="T:Microsoft.Data.Entity.Design.Extensibility.EntityDesignerExtendedPropertyAttribute" />
 ///     class.
 /// </summary>
 /// <param name="entityDesignerSelection">
 ///     The object in the Entity Data Model Designer or the Model Browser that, when selected by a user, triggers the call of the
 ///     <see
 ///         cref="M:Microsoft.Data.Entity.Design.Extensibility.IEntityDesignerExtendedProperty.CreateProperty" />
 ///     method.
 /// </param>
 public EntityDesignerExtendedPropertyAttribute(EntityDesignerSelection entityDesignerSelection)
 {
     _entityDesignerSelection = entityDesignerSelection;
 }