Search Results for

    Show / Hide Table of Contents

    Class RelationshipsController

    Inheritance
    object
    ModelViewController
    BaseTreeViewAnyController<RelationshipItem>
    RelationshipsController
    Implements
    ICollectionExportable
    ISearchController
    IModelViewController
    Inherited Members
    BaseTreeViewAnyController<RelationshipItem>._descriptor
    BaseTreeViewAnyController<RelationshipItem>._items
    BaseTreeViewAnyController<RelationshipItem>._rootNodes
    BaseTreeViewAnyController<RelationshipItem>.CanMoveToRoot(RelationshipItem)
    BaseTreeViewAnyController<RelationshipItem>.CanMoveAsChildOfItem(RelationshipItem, RelationshipItem)
    BaseTreeViewAnyController<RelationshipItem>.OnNodeMoved(TreeNode<RelationshipItem>, TreeNode<RelationshipItem>, TreeNode<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.LoadDataForCopyingNode(TreeNode<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.CreateCopiedNode(TreeNode<RelationshipItem>, TreeNode<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.UpdateRootCopiedNode(TreeNode<RelationshipItem>, TreeNode<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.GetTreeController(IBaseTreeView<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.InitCommands(IList<ViewCommand>)
    BaseTreeViewAnyController<RelationshipItem>.Clear()
    BaseTreeViewAnyController<RelationshipItem>.CloseController()
    BaseTreeViewAnyController<RelationshipItem>.DisplayUI()
    BaseTreeViewAnyController<RelationshipItem>.WrapAsTreeNodes(IEnumerable<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.CreateWrapper(RelationshipItem, TreeNode<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.OnSelectionChanged(object, EventArgs)
    BaseTreeViewAnyController<RelationshipItem>.PromptForItemLabel(RelationshipItem)
    BaseTreeViewAnyController<RelationshipItem>.OnDeleteItem(RelationshipItem)
    BaseTreeViewAnyController<RelationshipItem>.UpdateNewItem(RelationshipItem)
    BaseTreeViewAnyController<RelationshipItem>.WrapAsTreeNodes(TreeNode<RelationshipItem>, IEnumerable<RelationshipItem>)
    BaseTreeViewAnyController<RelationshipItem>.ToggleSearch(bool)
    BaseTreeViewAnyController<RelationshipItem>.SetSearch(string, IEnumerable<string>)
    BaseTreeViewAnyController<RelationshipItem>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseTreeViewAnyController<RelationshipItem>.GetVisibleColumnNames()
    BaseTreeViewAnyController<RelationshipItem>.GetQueryForExcelResults()
    BaseTreeViewAnyController<RelationshipItem>.ColumnGroups()
    BaseTreeViewAnyController<RelationshipItem>.IgnoreEvents
    BaseTreeViewAnyController<RelationshipItem>.TreeView
    BaseTreeViewAnyController<RelationshipItem>.Descriptor
    BaseTreeViewAnyController<RelationshipItem>.Roots
    BaseTreeViewAnyController<RelationshipItem>.SelectedItemForSubViews
    BaseTreeViewAnyController<RelationshipItem>.GetDefaultOrderPropertyName
    BaseTreeViewAnyController<RelationshipItem>.GetDefaultOrder
    BaseTreeViewAnyController<RelationshipItem>.GetTreeNodeColorPropertyName
    BaseTreeViewAnyController<RelationshipItem>.LoadedItems
    BaseTreeViewAnyController<RelationshipItem>.CommandNew
    BaseTreeViewAnyController<RelationshipItem>.CommandNewType
    BaseTreeViewAnyController<RelationshipItem>.CommandCopy
    BaseTreeViewAnyController<RelationshipItem>.CommandNewAllow
    BaseTreeViewAnyController<RelationshipItem>.CommandNewCanCreate
    BaseTreeViewAnyController<RelationshipItem>.CommandCopyAllow
    BaseTreeViewAnyController<RelationshipItem>.CommandDelete
    BaseTreeViewAnyController<RelationshipItem>.CommandDeleteAllow
    BaseTreeViewAnyController<RelationshipItem>.CommandDeleteCanDelete
    BaseTreeViewAnyController<RelationshipItem>.CommandRenameAllow
    BaseTreeViewAnyController<RelationshipItem>.RenameHasOtherProperties
    BaseTreeViewAnyController<RelationshipItem>.CommandAllowSearch
    BaseTreeViewAnyController<RelationshipItem>.OpenFromRelatedColumnName
    BaseTreeViewAnyController<RelationshipItem>.CommandNewAllowMultipleRoots
    BaseTreeViewAnyController<RelationshipItem>.AutoExpandAll
    BaseTreeViewAnyController<RelationshipItem>.AllowXMLImportExport
    BaseTreeViewAnyController<RelationshipItem>.ForceSubViewUpdateOnChangeEvenIfSame
    BaseTreeViewAnyController<RelationshipItem>.AutoPromptForLabelOnNew
    BaseTreeViewAnyController<RelationshipItem>.SearchColumns
    BaseTreeViewAnyController<RelationshipItem>.SearchGroups
    BaseTreeViewAnyController<RelationshipItem>.SearchElements
    BaseTreeViewAnyController<RelationshipItem>.CollectionType
    BaseTreeViewAnyController<RelationshipItem>.OnlyExportGrid
    BaseTreeViewAnyController<RelationshipItem>.OnlyExportFromQuery
    BaseTreeViewAnyController<RelationshipItem>.PagerRequired
    BaseTreeViewAnyController<RelationshipItem>.CurrentGridItems
    ModelViewController.InitAsync()
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.Redisplay()
    ModelViewController.OnTrackedItemChanged(object, string)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<TOfType>()
    ModelViewController.InsertCommand(ViewCommand, int)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.UpdateAllCommands()
    ModelViewController.GetNestedViews()
    ModelViewController.RootController
    ModelViewController.ServiceContext
    ModelViewController.UIContext
    ModelViewController.CanWrite
    ModelViewController.ListenToChanges
    ModelViewController.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    ModelViewController.ContextHelpURL
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Controllers
    Assembly: LemonEdge.ClientEntities.dll
    Syntax
    public class RelationshipsController : BaseTreeViewAnyController<RelationshipItem>, ICollectionExportable, ISearchController, IModelViewController

    Constructors

    RelationshipsController(IBaseTreeView<RelationshipItem>)

    Declaration
    public RelationshipsController(IBaseTreeView<RelationshipItem> view)
    Parameters
    Type Name Description
    IBaseTreeView<RelationshipItem> view

    Properties

    CommandOpen

    Provides the ability for an inheriting class to override the Open command

    Declaration
    protected override ViewCommand CommandOpen { get; }
    Property Value
    Type Description
    ViewCommand
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.CommandOpen

    CommandOpenAllow

    Indicates if the view should show the Open command - default is false

    Declaration
    public override bool CommandOpenAllow { get; }
    Property Value
    Type Description
    bool
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.CommandOpenAllow

    GetParentIDPropertyName

    Returns the property on the entity type RelationshipItem that holds the relationship to the parent instance of type RelationshipItem too

    Declaration
    protected override string GetParentIDPropertyName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.GetParentIDPropertyName

    GetTreeNodeIconPropertyName

    Declaration
    public override string GetTreeNodeIconPropertyName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.GetTreeNodeIconPropertyName

    GetTreeNodeLabelPropertyName

    Returns the property on the entity type RelationshipItem that holds the string that should be shown as the label on the tree node for every item in the tree view control itself

    Declaration
    public override string GetTreeNodeLabelPropertyName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.GetTreeNodeLabelPropertyName

    GetTreeNodeTooltipPropertyName

    Declaration
    public override string GetTreeNodeTooltipPropertyName { get; }
    Property Value
    Type Description
    string
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.GetTreeNodeTooltipPropertyName

    Methods

    GetIDValue(RelationshipItem)

    Declaration
    public override Guid GetIDValue(RelationshipItem item)
    Parameters
    Type Name Description
    RelationshipItem item
    Returns
    Type Description
    Guid
    Overrides
    BaseTreeViewAnyController<RelationshipItem>.GetIDValue(RelationshipItem)

    HasLazyChildrenToLoad(TreeNode<RelationshipItem>)

    Declaration
    public override bool HasLazyChildrenToLoad(TreeNode<RelationshipItem> item)
    Parameters
    Type Name Description
    TreeNode<RelationshipItem> item
    Returns
    Type Description
    bool
    Overrides
    BaseTreeViewAnyController<RelationshipItem>.HasLazyChildrenToLoad(TreeNode<RelationshipItem>)

    LazyLoadChildren(TreeNode<RelationshipItem>)

    Declaration
    public override Task<IEnumerable<TreeNode<RelationshipItem>>> LazyLoadChildren(TreeNode<RelationshipItem> node)
    Parameters
    Type Name Description
    TreeNode<RelationshipItem> node
    Returns
    Type Description
    Task<IEnumerable<TreeNode<RelationshipItem>>>
    Overrides
    BaseTreeViewAnyController<RelationshipItem>.LazyLoadChildren(TreeNode<RelationshipItem>)

    LoadItems()

    The method used by DisplayUI() to load all the entities for this tree view

    Declaration
    protected override Task<IEnumerable<RelationshipItem>> LoadItems()
    Returns
    Type Description
    Task<IEnumerable<RelationshipItem>>

    The list of loaded entities to be displayed in the tree view

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseTreeViewAnyController<LemonEdge.Client.Core.Views.Controllers.RelationshipItem>.LoadItems()

    OpenItem(RelationshipItem)

    Opens the specified entity in a new IModelLayoutDisplayer

    Declaration
    public override Task OpenItem(RelationshipItem item)
    Parameters
    Type Name Description
    RelationshipItem item

    The item in the tree view to open

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    BaseTreeViewAnyController<RelationshipItem>.OpenItem(RelationshipItem)

    Implements

    ICollectionExportable
    ISearchController
    IModelViewController

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.