public void LoadCreatedByApplicationUser(BudgetLine obj) { if (obj.CreatedByApplicationUser != null) { _createdByApplicationUserProperty = obj.CreatedByApplicationUser.CurrentDTO; } }
public void LoadBudgetLineCategory(BudgetLine obj) { if (obj.BudgetLineCategory != null) { _budgetLineCategoryProperty = obj.BudgetLineCategory.CurrentDTO; } }
public void LoadBudget(BudgetLine obj) { if (obj.Budget != null) { _budgetProperty = obj.Budget.CurrentDTO; } }
public static BudgetLine GetBudgetLine(Func <IDataReader, BudgetLine> rowParser, SqlDataReader reader) { BudgetLine obj = rowParser(reader); obj.InitDTO(); obj.IsDirty = false; obj.IsNew = false; return(obj); }
public BudgetLine CopyDTO(BudgetLine obj) { obj.BudgetID = this.BudgetID; obj.LineID = this.LineID; obj.OrderNo = this.OrderNo; obj.CategoryID = this.CategoryID; obj.FortnightAmount = this.FortnightAmount; obj.RequiresReceipt = this.RequiresReceipt; obj.IsActive = this.IsActive; return(obj); }
/// <summary> /// Creates a new object of type <see cref="BudgetLine"/>. /// </summary> /// <returns>Returns a newly instantiated collection of type <see cref="BudgetLine"/>.</returns> public static BudgetLine NewBudgetLine() { BudgetLine obj = new BudgetLine(); return(obj); }
protected void UpdateChildren(BudgetLine parent, SqlConnection connection, SqlTransaction trans) { }