Class BaseDefaultSingleViewRelatedItemController<TParent, TSingleItem>
Inheritance
BaseDefaultSingleViewRelatedItemController<TParent, TSingleItem>
Assembly: LemonEdge.ClientCore.dll
public abstract class BaseDefaultSingleViewRelatedItemController<TParent, TSingleItem> : BaseDefaultSingleViewController<TSingleItem>, IModelViewController where TParent : IBaseEntity where TSingleItem : IBaseEntity
Type Parameters
Name |
Description |
TParent |
|
TSingleItem |
|
Constructors
Declaration
public BaseDefaultSingleViewRelatedItemController(IBaseDefaultSingleViewRelatedItem<TParent, TSingleItem> view)
Parameters
Properties
Declaration
public TParent Parent { get; }
Property Value
Declaration
public abstract string ParentToSingleItemRelationshipColumnName { get; }
Property Value
Methods
Declaration
protected virtual QueryableExecuter<TSingleItem> AddRelationshipJoin(QueryableExecuter<TSingleItem> query)
Parameters
Returns
Provides an inheriting class the opportunity to load the single entity item this view should display
Declaration
public override Task<TSingleItem> LoadSingleItem()
Returns
Type |
Description |
Task<TSingleItem> |
The instance of the entity of type TSingleItem that this controller is displaying/editing
|
Overrides
Implements
Extension Methods