Class EntitySetsController<T>
An optional base entity sets controller used for displaying a collection of any entity that inherits from IEntitySetBase in a consistent manner
Inheritance
System.Object
EntitySetsController<T>
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.Controllers
Assembly: ClientCore.dll
Syntax
public abstract class EntitySetsController<T> : BaseGridController<T>, IBaseGridController, IModelViewController, ICollectionExportable, INewGridItemImplementor<T>, ICopyGridItemImplementor<T>, IGrid, IDeleteGridItemImplementor<T> where T : IEntitySetBase
Type Parameters
Name | Description |
---|---|
T | The entity set type that inherits from IEntitySetBase |
Constructors
EntitySetsController(IBaseGrid<T>)
Creates a new EntitySetsController
Declaration
public EntitySetsController(IBaseGrid<T> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseGrid<T> | view | The IBaseGrid view implementation using the UI components of the client application |
Properties
AutoOpenNewItemInTab
Declaration
public override bool AutoOpenNewItemInTab { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.AutoOpenNewItemInTab
DefaultSearchColumn
Declaration
protected override string DefaultSearchColumn { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
AlterQuery(QueryableExecuter<T>)
Alters the query to sort by Name
Declaration
protected override QueryableExecuter<T> AlterQuery(QueryableExecuter<T> query)
Parameters
Type | Name | Description |
---|---|---|
QueryableExecuter<T> | query | The query that can be altered |
Returns
Type | Description |
---|---|
QueryableExecuter<T> | The query to retrieve all EntitySets for this grid |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.AlterQuery(LemonEdge.Utils.QueryableExecuter<T>)
ColumnNames()
Adds the Name, CurrencyID, RoundingLevel, and YearEnd as columns to the grid
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfoLight> | The columns to be displayed against this grid view |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.ColumnNames()