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
BaseEntitySetEntitiesController<ES, SE>
Implements
Inherited Members
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)
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()