Class BlendTransactionTransactionsController
Inheritance
BlendTransactionTransactionsController
Implements
Inherited Members
BaseGridRelatedCollectionController<IBlendTransaction, ITransaction>.GetNewEntityFromLookupCommand()
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class BlendTransactionTransactionsController : SingleItemWithChildTransactionsController<IBlendTransaction>, IBaseGridController, ICollectionExportable, INewGridItemImplementor<ITransaction>, ICopyGridItemImplementor<ITransaction>, IGrid, IDeleteGridItemImplementor<ITransaction>, ISearchController, ILockableController, IModelViewController
Constructors
BlendTransactionTransactionsController(IBaseGridRelatedCollection<IBlendTransaction, ITransaction>)
Declaration
public BlendTransactionTransactionsController(IBaseGridRelatedCollection<IBlendTransaction, ITransaction> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseGridRelatedCollection<IBlendTransaction, ITransaction> | view |
Properties
AllowNewCommand
Indicates that by default entities can be created by the user with the new command
Declaration
public override bool AllowNewCommand { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
CanWrite
Uses the ITransactionProcessor CanWrite and Locked to determine if a transaction can be written too
Declaration
public override bool CanWrite { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
LemonEdge.Client.Core.Views.Controllers.SingleItemWithChildTransactionsController<LemonEdge.API.Entities.FinancialServices.Transactions.IBlendTransaction>.CanWrite
Methods
GetNewItemTranInfo(ITransaction)
When creating a new transaction this provides the default status/transaction date for the transaction that should come from the SingleItem
Declaration
protected override (TransactionStatus Status, DateTimeOffset TransactionDate) GetNewItemTranInfo(ITransaction item)
Parameters
Type | Name | Description |
---|---|---|
ITransaction | item | The new transaction being created |
Returns
Type | Description |
---|---|
(TransactionStatus Status, DateTimeOffset TransactionDate) | A status and date to use for the new transaction |
Overrides
LemonEdge.Client.Core.Views.Controllers.SingleItemWithChildTransactionsController<LemonEdge.API.Entities.FinancialServices.Transactions.IBlendTransaction>.GetNewItemTranInfo(LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction)