Class ObjectEntityController<T>
An optional base object entity controller used for displaying any single entity that inherits from IObjectEntityBase ina consistent manner
Inheritance
System.Object
ObjectEntityController<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 ObjectEntityController<T> : BaseDefaultSingleViewController<T>, IModelViewController where T : IObjectEntityBase
Type Parameters
Name | Description |
---|---|
T | The entity type that inherits from IObjectEntityBase |
Constructors
ObjectEntityController(IBaseDefaultSingleView<T>)
Creates a new ObjectEntityController
Declaration
public ObjectEntityController(IBaseDefaultSingleView<T> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<T> | view | The IBaseDefaultSingleView view implementation using the UI components of the client application |
Properties
AllowGL
Indicates the HasGL control should also be included in the ControlNames() for this view
Declaration
protected virtual bool AllowGL { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowIncludeInAllocations
Indicates the AllowRuleAllocations control should also be included in the ControlNames() for this view
Declaration
protected virtual bool AllowIncludeInAllocations { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ControlNames()
Adds the Name, Code, LegalName, and CurrencyID as controls to the view
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfoLight> | The controls to be displayed against this view |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<T>.ControlNames()