Class PeopleController
Inheritance
PeopleController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class PeopleController : ObjectEntitiesController<IPerson>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<IPerson>, ICopyGridItemImplementor<IPerson>, IGrid, IDeleteGridItemImplementor<IPerson>, ISearchController, IModelViewController
Constructors
PeopleController(IBaseGrid<IPerson>)
Declaration
public PeopleController(IBaseGrid<IPerson> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseGrid<IPerson> | view |
Properties
ContextHelpURL
An optional associated url of a help file for the view this controller works with
Declaration
public override string ContextHelpURL { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
ColumnNames()
Adds the Name, Code, LegalName, and CurrencyID as columns to the grid
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | The columns to be displayed against this grid view |
Overrides
LemonEdge.Client.Core.Views.Controllers.ObjectEntitiesController<LemonEdge.API.Entities.FinancialServices.LegalEntity.IPerson>.ColumnNames()
UpdateNewItem(IPerson)
Provides an inheriting controller an opportunity to alter the newly created item by the grid before it is added to the IBaseGrid<T> itself
By default this ensures the item has the next maximum sequence number if the item is an entity that has a property with a SequenceStart
Declaration
protected override Task UpdateNewItem(IPerson item)
Parameters
Type | Name | Description |
---|---|---|
IPerson | item | The newly created item to be added to the grid |
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<LemonEdge.API.Entities.FinancialServices.LegalEntity.IPerson>.UpdateNewItem(LemonEdge.API.Entities.FinancialServices.LegalEntity.IPerson)