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
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser 1 사용 예제들

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