Beispiel #1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref ProposedHousingExpenseBase data)
        {
            // store a reference to this as an Entity class instance.
            Entity thisent = data as Entity;

            // make sure to always call up to the base
            base.SetMembers(ref thisent);


            // assigns the Id data to the class member
            _id = data._id;
            // assigns the LoanApplicationId data to the class member
            _loanapplicationid          = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the PaymentAmount data to the class member
            _paymentamount          = data._paymentamount;
            _paymentamount_assigned = data._paymentamount_assigned;
            // assigns the HousingExpenseType data to the class member
            _housingexpensetype          = data._housingexpensetype;
            _housingexpensetype_assigned = data._housingexpensetype_assigned;


            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(ProposedHousingExpenseBase proposedHousingExpenseBase)
 {
     InnerRemove(proposedHousingExpenseBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(ProposedHousingExpenseBase proposedHousingExpenseBase)
 {
     return(InnerAdd(proposedHousingExpenseBase));
 }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref ProposedHousingExpenseBase data)
        {
            // store a reference to this as an Entity class instance.
            Entity thisent = data as Entity;
            // make sure to always call up to the base
            base.SetMembers(ref thisent);

            // assigns the Id data to the class member
            _id = data._id;
            // assigns the LoanApplicationId data to the class member
            _loanapplicationid = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the PaymentAmount data to the class member
            _paymentamount = data._paymentamount;
            _paymentamount_assigned = data._paymentamount_assigned;
            // assigns the HousingExpenseType data to the class member
            _housingexpensetype = data._housingexpensetype;
            _housingexpensetype_assigned = data._housingexpensetype_assigned;

            RecalculateChecksum();
        }