C# Класс BudgetAnalyser.Engine.Ledger.LedgerEntryLine

This represents the horizontal row on the LedgerBook that crosses all LedgerColumns for a date. Each LedgerEntry must have a reference to an instance of this.
Наследование: IModelValidate
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BalanceAdjustment BankBalanceAdjustmentTransaction
CancelBalanceAdjustment void
FindPreviousEntryOpeningBalance decimal
LedgerEntryLine System
LedgerEntryLine System
Lock void
SetNewLedgerEntries void
TotalBankBalanceAdjustmentForAccount decimal
Unlock void
UpdateRemarks bool
Validate bool

Приватные методы

Метод Описание
BalanceAdjustment ( decimal adjustment, string narrative, Account account ) : BankBalanceAdjustmentTransaction
CancelBalanceAdjustment ( System.Guid transactionId ) : void
FindPreviousEntryOpeningBalance ( [ previousLine, [ ledgerBucket ) : decimal
LedgerEntryLine ( ) : System

Constructs a new instance of LedgerEntryLine. Only AutoMapper uses this constructor. It it easier for AutoMapper configuration. Date and BankBalances are set implicitly using the private and internal setters.

LedgerEntryLine ( System.DateTime reconciliationDate, [ bankBalances ) : System

Constructs a new instance of LedgerEntryLine. Use this constructor for adding a new line when reconciling once a month.

Lock ( ) : void
SetNewLedgerEntries ( IEnumerable ledgerEntries ) : void

Sets the LedgerEntry list for this reconciliation. Used when building a new reconciliation and populating a new LedgerEntryLine.

TotalBankBalanceAdjustmentForAccount ( Account account ) : decimal
Unlock ( ) : void
UpdateRemarks ( string remarks ) : bool
Validate ( [ validationMessages, [ previousLine ) : bool