/// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref DownPaymentBase 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 Amount data to the class member
            _amount          = data._amount;
            _amount_assigned = data._amount_assigned;
            // assigns the SourceDescription data to the class member
            _sourcedescription = data._sourcedescription;
            // assigns the Type data to the class member
            _type        = data._type;
            _type_isnull = data._type_isnull;


            RecalculateChecksum();
        }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref DownPaymentBase 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 Amount data to the class member
            _amount = data._amount;
            _amount_assigned = data._amount_assigned;
            // assigns the SourceDescription data to the class member
            _sourcedescription = data._sourcedescription;
            // assigns the Type data to the class member
            _type = data._type;
            _type_isnull = data._type_isnull;

            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(DownPaymentBase downPaymentBase)
 {
     InnerRemove(downPaymentBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(DownPaymentBase downPaymentBase)
 {
     return(InnerAdd(downPaymentBase));
 }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(DownPaymentBase downPaymentBase)
 {
     InnerRemove(downPaymentBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(DownPaymentBase downPaymentBase)
 {
     return InnerAdd(downPaymentBase);
 }