/// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref RateAdjustmentBase 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 FirstRateAdjustmentMonths data to the class member
            _firstrateadjustmentmonths        = data._firstrateadjustmentmonths;
            _firstrateadjustmentmonths_isnull = data._firstrateadjustmentmonths_isnull;
            // assigns the CalculationType data to the class member
            _calculationtype          = data._calculationtype;
            _calculationtype_assigned = data._calculationtype_assigned;
            // assigns the DurationMonths data to the class member
            _durationmonths        = data._durationmonths;
            _durationmonths_isnull = data._durationmonths_isnull;
            // assigns the Percent data to the class member
            _percent        = data._percent;
            _percent_isnull = data._percent_isnull;
            // assigns the PeriodNumber data to the class member
            _periodnumber        = data._periodnumber;
            _periodnumber_isnull = data._periodnumber_isnull;
            // assigns the SubsequentCapPercent data to the class member
            _subsequentcappercent        = data._subsequentcappercent;
            _subsequentcappercent_isnull = data._subsequentcappercent_isnull;
            // assigns the SubsequentRateAdjustmentMonths data to the class member
            _subsequentrateadjustmentmonths        = data._subsequentrateadjustmentmonths;
            _subsequentrateadjustmentmonths_isnull = data._subsequentrateadjustmentmonths_isnull;


            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(RateAdjustmentBase rateAdjustmentBase)
 {
     InnerRemove(rateAdjustmentBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(RateAdjustmentBase rateAdjustmentBase)
 {
     return InnerAdd(rateAdjustmentBase);
 }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(RateAdjustmentBase rateAdjustmentBase)
 {
     InnerRemove(rateAdjustmentBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(RateAdjustmentBase rateAdjustmentBase)
 {
     return(InnerAdd(rateAdjustmentBase));
 }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref RateAdjustmentBase 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 FirstRateAdjustmentMonths data to the class member
            _firstrateadjustmentmonths = data._firstrateadjustmentmonths;
            _firstrateadjustmentmonths_isnull = data._firstrateadjustmentmonths_isnull;
            // assigns the CalculationType data to the class member
            _calculationtype = data._calculationtype;
            _calculationtype_assigned = data._calculationtype_assigned;
            // assigns the DurationMonths data to the class member
            _durationmonths = data._durationmonths;
            _durationmonths_isnull = data._durationmonths_isnull;
            // assigns the Percent data to the class member
            _percent = data._percent;
            _percent_isnull = data._percent_isnull;
            // assigns the PeriodNumber data to the class member
            _periodnumber = data._periodnumber;
            _periodnumber_isnull = data._periodnumber_isnull;
            // assigns the SubsequentCapPercent data to the class member
            _subsequentcappercent = data._subsequentcappercent;
            _subsequentcappercent_isnull = data._subsequentcappercent_isnull;
            // assigns the SubsequentRateAdjustmentMonths data to the class member
            _subsequentrateadjustmentmonths = data._subsequentrateadjustmentmonths;
            _subsequentrateadjustmentmonths_isnull = data._subsequentrateadjustmentmonths_isnull;

            RecalculateChecksum();
        }