コード例 #1
0
 public virtual void Update(string expenditureName, string expenditureDefinition, double price, Expenditure expenditure, Budget budget, int?updatedBy, DateTime?updatedDate)
 {
     this.ExpenditureName       = expenditureName;
     this.ExpenditureDefinition = expenditureDefinition;
     this.Price         = price;
     this.ExpenditureId = expenditure.Id;
     this.BudgetId      = budget.Id;
     this.UpdatedBy     = updatedBy;
     this.UpdatedDate   = updatedDate;
 }
コード例 #2
0
 public ExpenditureDetail(string expenditureName, string expenditureDefinition, double price, Expenditure expenditure, Budget budget, int?createdBy, DateTime?createdDate)
 {
     this.ExpenditureName       = expenditureName;
     this.ExpenditureDefinition = expenditureDefinition;
     this.Price         = price;
     this.ExpenditureId = expenditure.Id;
     this.BudgetId      = budget.Id;
     this.CreatedBy     = createdBy;
     this.CreatedDate   = createdDate;
     this.IsDeleted     = false;
 }