public void LoadBudget(BudgetClientAdjustment obj)
 {
     if (obj.Budget != null)
     {
         _budgetProperty = obj.Budget.CurrentDTO;
     }
 }
 public void LoadHomeClient(BudgetClientAdjustment obj)
 {
     if (obj.HomeClient != null)
     {
         _homeClientProperty = obj.HomeClient.CurrentDTO;
     }
 }
 public void LoadBudgetLineCategory(BudgetClientAdjustment obj)
 {
     if (obj.BudgetLineCategory != null)
     {
         _budgetLineCategoryProperty = obj.BudgetLineCategory.CurrentDTO;
     }
 }
        public static BudgetClientAdjustment GetBudgetClientAdjustment(Func <IDataReader, BudgetClientAdjustment> rowParser, SqlDataReader reader)
        {
            BudgetClientAdjustment obj = rowParser(reader);

            obj.InitDTO();
            obj.IsDirty = false;
            obj.IsNew   = false;
            return(obj);
        }
 public BudgetClientAdjustment CopyDTO(BudgetClientAdjustment obj)
 {
     obj.BudgetID         = this.BudgetID;
     obj.CategoryID       = this.CategoryID;
     obj.HomeClientID     = this.HomeClientID;
     obj.AdjustmentAmount = this.AdjustmentAmount;
     obj.StartDate        = this.StartDate;
     obj.IsActive         = this.IsActive;
     return(obj);
 }
Exemple #6
0
 protected void UpdateChildren(BudgetClientAdjustment parent, SqlConnection connection, SqlTransaction trans)
 {
 }
        /// <summary>
        /// Creates a new object of type <see cref="BudgetClientAdjustment"/>.
        /// </summary>
        /// <returns>Returns a newly instantiated collection of type <see cref="BudgetClientAdjustment"/>.</returns>
        public static BudgetClientAdjustment NewBudgetClientAdjustment()
        {
            BudgetClientAdjustment obj = new BudgetClientAdjustment();

            return(obj);
        }