Search Results for

    Show / Hide Table of Contents

    Class BaseEntitySetEntitiesController<ES, SE>

    An optional grid controller that displays a grid of ISetEntity (SE) that are members of a single IEntitySetBase (ES)

    Inheritance
    System.Object
    ModelViewController
    BaseGridController
    BaseGridControllerAny<SE>
    BaseGridController<SE>
    BaseGridRelatedCollectionController<ES, SE>
    BaseEntitySetEntitiesController<ES, SE>
    Implements
    IBaseGridController
    IModelViewController
    ICollectionExportable
    INewGridItemImplementor<SE>
    ICopyGridItemImplementor<SE>
    IGrid
    IDeleteGridItemImplementor<SE>
    Inherited Members
    BaseGridRelatedCollectionController<ES, SE>.SingleItem
    BaseGridRelatedCollectionController<ES, SE>.AllowIDFilter
    BaseGridRelatedCollectionController<ES, SE>.AlterQuery(QueryableExecuter<SE>)
    BaseGridRelatedCollectionController<ES, SE>.AddRelationshipJoin(QueryableExecuter<SE>)
    BaseGridRelatedCollectionController<ES, SE>.UpdateNewItem(SE)
    BaseGridRelatedCollectionController<ES, SE>.CollectionRelationshipColumnName
    BaseGridRelatedCollectionController<ES, SE>.PopulateNewFromLookupColumnName
    BaseGridController<SE>.GetGridSourceItems()
    BaseGridController<SE>.GetInternalDescriptor()
    BaseGridController<SE>.GetCurrentQuery()
    BaseGridController<SE>.GetQueryForExcelResults()
    BaseGridController<SE>.AllowIDFilter
    BaseGridController<SE>.GetCreationQuery()
    BaseGridController<SE>.NewItemHelper
    BaseGridController<SE>.CopyItemHelper
    BaseGridController<SE>.AllowOpenCommand
    BaseGridController<SE>.AllowNewCommand
    BaseGridController<SE>.AllowDeleteCommand
    BaseGridController<SE>.GetOpenGridCommand()
    BaseGridController<SE>.GetCopyGridCommand()
    BaseGridController<SE>.OnOpenRowItem(SE)
    BaseGridController<SE>.OpenInSameContext
    BaseGridControllerAny<SE>.GetGridController(IBaseGrid<SE>)
    BaseGridControllerAny<SE>.CollectionType
    BaseGridControllerAny<SE>.Descriptor
    BaseGridControllerAny<SE>.CanEditRowItem(SE)
    BaseGridControllerAny<SE>.TrackItemChanges
    BaseGridControllerAny<SE>.OnTrackedItemChanged(Object, String)
    BaseGridControllerAny<SE>.RowPreviewColumns
    BaseGridControllerAny<SE>.BulkUpdateMulltipleSelectedItemsOnEdit
    BaseGridControllerAny<SE>.GridView
    BaseGridControllerAny<SE>.GetGridSourceItems(IEnumerable<SE>)
    BaseGridControllerAny<SE>.AlterLoadedItems(IEnumerable<SE>)
    BaseGridControllerAny<SE>.Clear()
    BaseGridControllerAny<SE>.CloseController()
    BaseGridControllerAny<SE>.CurrentGridItems
    BaseGridControllerAny<SE>.CurrentItems
    BaseGridControllerAny<SE>.InitDisplay()
    BaseGridControllerAny<SE>.ResetColumnsAndGroups(Boolean)
    BaseGridControllerAny<SE>.DisplayUI()
    BaseGridControllerAny<SE>.AutoSelectFirstRow
    BaseGridControllerAny<SE>.LoadAdditionalColumns()
    BaseGridControllerAny<SE>.Columns()
    BaseGridControllerAny<SE>.AddCol(Int16, ControlDisplayInfoLight, EntityDescriptor)
    BaseGridControllerAny<SE>.PivotColumns(Int16)
    BaseGridControllerAny<SE>.AddStandardColumns
    BaseGridControllerAny<SE>.StandardColumnsUniqueGroupKey
    BaseGridControllerAny<SE>.SelectedItemForSubViews
    BaseGridControllerAny<SE>.UpdateNewItem(SE)
    BaseGridControllerAny<SE>.ApplyGridSettingsToFilter(QueryableExecuter)
    BaseGridControllerAny<SE>.ApplyPaging(QueryableExecuter)
    BaseGridControllerAny<SE>.SetTotalCount(Int32)
    BaseGridControllerAny<SE>.DefaultRowCount
    BaseGridControllerAny<SE>.PagerRequired
    BaseGridControllerAny<SE>.CurrentPageIndex
    BaseGridControllerAny<SE>.TotalCount
    BaseGridControllerAny<SE>.TotalPageCount
    BaseGridControllerAny<SE>.Sortings
    BaseGridControllerAny<SE>.Filters
    BaseGridControllerAny<SE>.SetPageIndex(Int32)
    BaseGridControllerAny<SE>.Redisplay()
    BaseGridControllerAny<SE>.TrackResults(IEnumerable<SE>)
    BaseGridControllerAny<SE>.UpdateColumnFromName(String)
    BaseGridControllerAny<SE>.GetExportableColumnInfo(IEnumerable<ColumnDescriptor>)
    BaseGridControllerAny<SE>.TogglerZeroColumn
    BaseGridControllerAny<SE>.IsZeroColumnColumnVisible(String)
    BaseGridControllerAny<SE>.ToggleZeroColumns()
    BaseGridControllerAny<SE>.UpdateAllZeroColumns()
    BaseGridControllerAny<SE>.UpdateTransferColumnStatus()
    BaseGridControllerAny<SE>.TransferColToggler
    BaseGridControllerAny<SE>.CanDelete(SE)
    BaseGridControllerAny<SE>.CanCreateNew
    BaseGridControllerAny<SE>.GetStandardExtraColumns(String)
    BaseGridControllerAny<SE>.IDeleteGridItemImplementor<SE>.Grid
    BaseGridControllerAny<SE>.InitCommands(IList<ViewCommand>)
    BaseGridControllerAny<SE>.ExcelExportCommand
    BaseGridControllerAny<SE>.GetPublicToggleCommand()
    BaseGridControllerAny<SE>.GetNewGridCommand()
    BaseGridControllerAny<SE>.GetDeleteCommand()
    BaseGridControllerAny<SE>.GetUpCommand()
    BaseGridControllerAny<SE>.GetDownCommand()
    BaseGridControllerAny<SE>.AllowColumnSelection
    BaseGridControllerAny<SE>.AllowPublicToggleCommand
    BaseGridControllerAny<SE>.AllowSearchCommand
    BaseGridControllerAny<SE>.AllowXMLImportExport
    BaseGridControllerAny<SE>.AllowMultipleSelect
    BaseGridControllerAny<SE>.AllowExcelExport
    BaseGridControllerAny<SE>.AllowSequencing
    BaseGridControllerAny<SE>.PopulateNewFromLookupColumnName
    BaseGridControllerAny<SE>.GetLookupIDsForNewItems(Func<IBaseEntity, Task>)
    BaseGridControllerAny<SE>.PreventDuplicateLookupIDs
    BaseGridControllerAny<SE>.RemoveItems(IEnumerable<SE>)
    BaseGridControllerAny<SE>.AddItem(SE)
    BaseGridController.ComboItemsClear
    BaseGridController.ColumnGroups()
    BaseGridController.DefaultColumnGroupIndexes
    BaseGridController.DefaultFrozenColumnCount
    BaseGridController.AllPossibleSearchColumns()
    BaseGridController.InternalFilter
    BaseGridController.ColumnSortings
    BaseGridController.ColumnFilters
    BaseGridController.SearchColumns
    BaseGridController.Search
    BaseGridController.SetOrdering(IEnumerable<QueryableSort>)
    BaseGridController.SetFilters(IEnumerable<QueryableFilter>)
    BaseGridController.SetSearch(String, IEnumerable<String>)
    BaseGridController.DefaultSearchColumn
    BaseGridController.BaseGridView
    BaseGridController.GetVisibleColumnNames()
    BaseGridController.OnlyExportGrid
    BaseGridController.OnlyExportFromQuery
    BaseGridController.Created
    BaseGridController.IGrid.GridItems
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.InitAsync()
    ModelViewController.DisplayItem(Object)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    ModelViewController.ContextHelpURL
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Views
    Assembly: ClientCore.dll
    Syntax
    public abstract class BaseEntitySetEntitiesController<ES, SE> : BaseGridRelatedCollectionController<ES, SE>, IBaseGridController, IModelViewController, ICollectionExportable, INewGridItemImplementor<SE>, ICopyGridItemImplementor<SE>, IGrid, IDeleteGridItemImplementor<SE> where ES : IEntitySetBase where SE : ISetEntity
    Type Parameters
    Name Description
    ES

    The entity set base that inherits from IEntitySetBase and has an associated set of ISetEntity

    SE

    The set entities displayed as a grid

    Constructors

    BaseEntitySetEntitiesController(IBaseGridRelatedCollection<ES, SE>)

    Creates a new BaseEntitiesSetEntityController

    Declaration
    public BaseEntitySetEntitiesController(IBaseGridRelatedCollection<ES, SE> view)
    Parameters
    Type Name Description
    IBaseGridRelatedCollection<ES, SE> view

    The IBaseGridRelatedCollection view implementation using the UI components of the client application

    Properties

    AllowCopyCommand

    Declaration
    public override bool AllowCopyCommand { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridController<SE>.AllowCopyCommand

    AutoOpenNewItemInTab

    Declaration
    public override bool AutoOpenNewItemInTab { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<SE>.AutoOpenNewItemInTab

    CollectionRelationshipColumnName

    Declaration
    public override string CollectionRelationshipColumnName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedCollectionController<ES, SE>.CollectionRelationshipColumnName

    OpenFromRelatedColumnName

    Declaration
    public override string OpenFromRelatedColumnName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<SE>.OpenFromRelatedColumnName

    Methods

    AlterColumnInfo(ControlDisplayInfo)

    Alters the EntityID filter to only show those that have HasGL set to true

    Declaration
    protected override void AlterColumnInfo(ControlDisplayInfo info)
    Parameters
    Type Name Description
    ControlDisplayInfo info

    The controls to optional alter the display of before the view builds the column for it

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<SE>.AlterColumnInfo(LemonEdge.Client.Core.Views.Core.ControlDisplayInfo)

    AlterQuery(QueryableExecuter<SE>)

    Orders the list of ISetEntity by the EntityID label

    Declaration
    protected override QueryableExecuter<SE> AlterQuery(QueryableExecuter<SE> query)
    Parameters
    Type Name Description
    QueryableExecuter<SE> query

    The query to modify

    Returns
    Type Description
    QueryableExecuter<SE>

    The query to load all records for this grid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridRelatedCollectionController<ES, SE>.AlterQuery(LemonEdge.Utils.QueryableExecuter<SE>)

    ColumnNames()

    Adds the EntitySetID (hidden), and EntityID as columns to the grid

    Declaration
    protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ControlDisplayInfoLight>

    THe columns to be displayed in this grid

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<SE>.ColumnNames()

    Implements

    IBaseGridController
    IModelViewController
    ICollectionExportable
    INewGridItemImplementor<T>
    ICopyGridItemImplementor<T>
    IGrid
    IDeleteGridItemImplementor<T>

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.