C# Class YanpixFinanceManager.Model.DataAccess.Extensions.MoneyBoxExtensions

显示文件 Open project: Yanpix/FinanceManager

Public Methods

Method Description
ExistingMoneyBox ( this moneyBoxService, string title, int primaryCurrencyId ) : MoneyBox
GetBalanceForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
GetBalanceForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
GetBudgetBalanceForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
GetBudgetBalanceForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
GetBudgetForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
GetBudgetForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
GetExpenceForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
GetExpenceForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
GetIncomeForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
GetIncomeForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
GetLastMonthPeriod ( this reportingPeriodService, int moneyBoxId ) : ReportingPeriod
GetLastYearPeriod ( this reportingPeriodService, int moneyBoxId ) : ReportingPeriod

Method Details

ExistingMoneyBox() public static method

public static ExistingMoneyBox ( this moneyBoxService, string title, int primaryCurrencyId ) : MoneyBox
moneyBoxService this
title string
primaryCurrencyId int
return YanpixFinanceManager.Model.Entities.MoneyBox

GetBalanceForLastMonth() public static method

public static GetBalanceForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
reportingPeriodService this
moneyBoxId int
return decimal

GetBalanceForSpecPeriod() public static method

public static GetBalanceForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
reportingPeriodService this
moneyBoxId int
period System.DateTime
isMonthPeriod bool
return decimal

GetBudgetBalanceForLastMonth() public static method

public static GetBudgetBalanceForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
reportingPeriodService this
moneyBoxId int
return decimal

GetBudgetBalanceForSpecPeriod() public static method

public static GetBudgetBalanceForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
reportingPeriodService this
moneyBoxId int
period System.DateTime
isMonthPeriod bool
return decimal

GetBudgetForLastMonth() public static method

public static GetBudgetForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
reportingPeriodService this
moneyBoxId int
return decimal

GetBudgetForSpecPeriod() public static method

public static GetBudgetForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
reportingPeriodService this
moneyBoxId int
period System.DateTime
isMonthPeriod bool
return decimal

GetExpenceForLastMonth() public static method

public static GetExpenceForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
reportingPeriodService this
moneyBoxId int
return decimal

GetExpenceForSpecPeriod() public static method

public static GetExpenceForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
reportingPeriodService this
moneyBoxId int
period System.DateTime
isMonthPeriod bool
return decimal

GetIncomeForLastMonth() public static method

public static GetIncomeForLastMonth ( this reportingPeriodService, int moneyBoxId ) : decimal
reportingPeriodService this
moneyBoxId int
return decimal

GetIncomeForSpecPeriod() public static method

public static GetIncomeForSpecPeriod ( this reportingPeriodService, int moneyBoxId, System.DateTime period, bool isMonthPeriod ) : decimal
reportingPeriodService this
moneyBoxId int
period System.DateTime
isMonthPeriod bool
return decimal

GetLastMonthPeriod() public static method

public static GetLastMonthPeriod ( this reportingPeriodService, int moneyBoxId ) : ReportingPeriod
reportingPeriodService this
moneyBoxId int
return YanpixFinanceManager.Model.Entities.ReportingPeriod

GetLastYearPeriod() public static method

public static GetLastYearPeriod ( this reportingPeriodService, int moneyBoxId ) : ReportingPeriod
reportingPeriodService this
moneyBoxId int
return YanpixFinanceManager.Model.Entities.ReportingPeriod