Class ObjectEntitiesController<T>
An optional base object entity controller used for displaying a collection of entities that inherits from IObjectEntityBase in a consistent manner
Inheritance
System.Object
ObjectEntitiesController<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 ObjectEntitiesController<T> : BaseGridController<T>, IBaseGridController, IModelViewController, ICollectionExportable, INewGridItemImplementor<T>, ICopyGridItemImplementor<T>, IGrid, IDeleteGridItemImplementor<T> where T : IObjectEntityBase
Type Parameters
Name | Description |
---|---|
T | The entity base object type that inherits from IObjectEntityBase |
Constructors
ObjectEntitiesController(IBaseGrid<T>)
Creates a new ObjectEntitiesController
Declaration
public ObjectEntitiesController(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 load the object entities ordered by Name
Declaration
protected override QueryableExecuter<T> AlterQuery(QueryableExecuter<T> query)
Parameters
Type | Name | Description |
---|---|---|
QueryableExecuter<T> | query | The query to be altered |
Returns
Type | Description |
---|---|
QueryableExecuter<T> | The query to execute to load all object entities that should be displayed against this grid view |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.AlterQuery(LemonEdge.Utils.QueryableExecuter<T>)
ColumnNames()
Adds the Name, Code, LegalName, and CurrencyID 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()