Beispiel #1
0
 public void LoadCreatedByApplicationUser(BudgetApproval obj)
 {
     if (obj.CreatedByApplicationUser != null)
     {
         _createdByApplicationUserProperty = obj.CreatedByApplicationUser.CurrentDTO;
     }
 }
Beispiel #2
0
 public void LoadBudget(BudgetApproval obj)
 {
     if (obj.Budget != null)
     {
         _budgetProperty = obj.Budget.CurrentDTO;
     }
 }
Beispiel #3
0
 public void LoadOperationsUserApplicationUser(BudgetApproval obj)
 {
     if (obj.OperationsUserApplicationUser != null)
     {
         _operationsUserApplicationUserProperty = obj.OperationsUserApplicationUser.CurrentDTO;
     }
 }
Beispiel #4
0
 public void LoadAdministratorUserApplicationUser(BudgetApproval obj)
 {
     if (obj.AdministratorUserApplicationUser != null)
     {
         _administratorUserApplicationUserProperty = obj.AdministratorUserApplicationUser.CurrentDTO;
     }
 }
        public static BudgetApproval GetBudgetApproval(Func <IDataReader, BudgetApproval> rowParser, SqlDataReader reader)
        {
            BudgetApproval obj = rowParser(reader);

            obj.InitDTO();
            obj.IsDirty = false;
            obj.IsNew   = false;
            return(obj);
        }
Beispiel #6
0
 public BudgetApproval CopyDTO(BudgetApproval obj)
 {
     obj.BudgetID            = this.BudgetID;
     obj.AdministratorUserID = this.AdministratorUserID;
     obj.OperationsUserID    = this.OperationsUserID;
     obj.ApprovalDate        = this.ApprovalDate;
     obj.Status         = this.Status;
     obj.ReminderDate   = this.ReminderDate;
     obj.ApprovalFileID = this.ApprovalFileID;
     obj.IsActive       = this.IsActive;
     return(obj);
 }
        /// <summary>
        /// Creates a new object of type <see cref="BudgetApproval"/>.
        /// </summary>
        /// <returns>Returns a newly instantiated collection of type <see cref="BudgetApproval"/>.</returns>
        public static BudgetApproval NewBudgetApproval()
        {
            BudgetApproval obj = new BudgetApproval();

            return(obj);
        }
Beispiel #8
0
 protected void UpdateChildren(BudgetApproval parent, SqlConnection connection, SqlTransaction trans)
 {
 }