Esempio n. 1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref MortgageTermsBase 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 LoanApplicationId data to the class member
            _loanapplicationid          = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the AgencyCaseIdentifier data to the class member
            _agencycaseidentifier = data._agencycaseidentifier;
            // assigns the ARMTypeDescription data to the class member
            _armtypedescription = data._armtypedescription;
            // assigns the BaseLoanAmount data to the class member
            _baseloanamount        = data._baseloanamount;
            _baseloanamount_isnull = data._baseloanamount_isnull;
            // assigns the BorrowerRequestedLoanAmount data to the class member
            _borrowerrequestedloanamount        = data._borrowerrequestedloanamount;
            _borrowerrequestedloanamount_isnull = data._borrowerrequestedloanamount_isnull;
            // assigns the LenderCaseIdentifier data to the class member
            _lendercaseidentifier = data._lendercaseidentifier;
            // assigns the LoanAmortizationTermMonths data to the class member
            _loanamortizationtermmonths        = data._loanamortizationtermmonths;
            _loanamortizationtermmonths_isnull = data._loanamortizationtermmonths_isnull;
            // assigns the OtherMortgageTypeDescription data to the class member
            _othermortgagetypedescription = data._othermortgagetypedescription;
            // assigns the OtherAmortizationTypeDescription data to the class member
            _otheramortizationtypedescription = data._otheramortizationtypedescription;
            // assigns the RequestedInterestRatePercent data to the class member
            _requestedinterestratepercent        = data._requestedinterestratepercent;
            _requestedinterestratepercent_isnull = data._requestedinterestratepercent_isnull;
            // assigns the LoanAmortizationType data to the class member
            _loanamortizationtype        = data._loanamortizationtype;
            _loanamortizationtype_isnull = data._loanamortizationtype_isnull;
            // assigns the MortgageType data to the class member
            _mortgagetype        = data._mortgagetype;
            _mortgagetype_isnull = data._mortgagetype_isnull;


            RecalculateChecksum();
        }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref MortgageTermsBase 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 LoanApplicationId data to the class member
            _loanapplicationid = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the AgencyCaseIdentifier data to the class member
            _agencycaseidentifier = data._agencycaseidentifier;
            // assigns the ARMTypeDescription data to the class member
            _armtypedescription = data._armtypedescription;
            // assigns the BaseLoanAmount data to the class member
            _baseloanamount = data._baseloanamount;
            _baseloanamount_isnull = data._baseloanamount_isnull;
            // assigns the BorrowerRequestedLoanAmount data to the class member
            _borrowerrequestedloanamount = data._borrowerrequestedloanamount;
            _borrowerrequestedloanamount_isnull = data._borrowerrequestedloanamount_isnull;
            // assigns the LenderCaseIdentifier data to the class member
            _lendercaseidentifier = data._lendercaseidentifier;
            // assigns the LoanAmortizationTermMonths data to the class member
            _loanamortizationtermmonths = data._loanamortizationtermmonths;
            _loanamortizationtermmonths_isnull = data._loanamortizationtermmonths_isnull;
            // assigns the OtherMortgageTypeDescription data to the class member
            _othermortgagetypedescription = data._othermortgagetypedescription;
            // assigns the OtherAmortizationTypeDescription data to the class member
            _otheramortizationtypedescription = data._otheramortizationtypedescription;
            // assigns the RequestedInterestRatePercent data to the class member
            _requestedinterestratepercent = data._requestedinterestratepercent;
            _requestedinterestratepercent_isnull = data._requestedinterestratepercent_isnull;
            // assigns the LoanAmortizationType data to the class member
            _loanamortizationtype = data._loanamortizationtype;
            _loanamortizationtype_isnull = data._loanamortizationtype_isnull;
            // assigns the MortgageType data to the class member
            _mortgagetype = data._mortgagetype;
            _mortgagetype_isnull = data._mortgagetype_isnull;

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