/// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(LoanFeaturesBase loanFeaturesBase)
 {
     return InnerAdd(loanFeaturesBase);
 }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(LoanFeaturesBase loanFeaturesBase)
 {
     InnerRemove(loanFeaturesBase);
 }
Пример #3
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref LoanFeaturesBase 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 AssumabilityIndicator data to the class member
            _assumabilityindicator = data._assumabilityindicator;
            _assumabilityindicator_assigned = data._assumabilityindicator_assigned;
            // assigns the BalloonIndicator data to the class member
            _balloonindicator = data._balloonindicator;
            _balloonindicator_assigned = data._balloonindicator_assigned;
            // assigns the BalloonLoanMaturityTermMonths data to the class member
            _balloonloanmaturitytermmonths = data._balloonloanmaturitytermmonths;
            _balloonloanmaturitytermmonths_isnull = data._balloonloanmaturitytermmonths_isnull;
            // assigns the BuydownTemporarySubsidyIndicator data to the class member
            _buydowntemporarysubsidyindicator = data._buydowntemporarysubsidyindicator;
            _buydowntemporarysubsidyindicator_assigned = data._buydowntemporarysubsidyindicator_assigned;
            // assigns the CounselingConfirmationIndicator data to the class member
            _counselingconfirmationindicator = data._counselingconfirmationindicator;
            _counselingconfirmationindicator_assigned = data._counselingconfirmationindicator_assigned;
            // assigns the EscrowWaiverIndicator data to the class member
            _escrowwaiverindicator = data._escrowwaiverindicator;
            _escrowwaiverindicator_assigned = data._escrowwaiverindicator_assigned;
            // assigns the FREOfferingIdentifier data to the class member
            _freofferingidentifier = data._freofferingidentifier;
            // assigns the FNMProductPlanIdentifier data to the class member
            _fnmproductplanidentifier = data._fnmproductplanidentifier;
            // assigns the FNMProductPlanIndentifier data to the class member
            _fnmproductplanindentifier = data._fnmproductplanindentifier;
            // assigns the HELOCMaximumBalanceAmount data to the class member
            _helocmaximumbalanceamount = data._helocmaximumbalanceamount;
            _helocmaximumbalanceamount_isnull = data._helocmaximumbalanceamount_isnull;
            // assigns the HELOCInitialAdvanceAmount data to the class member
            _helocinitialadvanceamount = data._helocinitialadvanceamount;
            _helocinitialadvanceamount_isnull = data._helocinitialadvanceamount_isnull;
            // assigns the InterestOnlyTerm data to the class member
            _interestonlyterm = data._interestonlyterm;
            _interestonlyterm_isnull = data._interestonlyterm_isnull;
            // assigns the LenderSelfInsuredIndicator data to the class member
            _lenderselfinsuredindicator = data._lenderselfinsuredindicator;
            _lenderselfinsuredindicator_assigned = data._lenderselfinsuredindicator_assigned;
            // assigns the LoanScheduledClosingDate data to the class member
            _loanscheduledclosingdate = data._loanscheduledclosingdate;
            _loanscheduledclosingdate_isnull = data._loanscheduledclosingdate_isnull;
            // assigns the MICoveragePercent data to the class member
            _micoveragepercent = data._micoveragepercent;
            _micoveragepercent_isnull = data._micoveragepercent_isnull;
            // assigns the NegativeAmortizationLimitPercent data to the class member
            _negativeamortizationlimitpercent = data._negativeamortizationlimitpercent;
            _negativeamortizationlimitpercent_isnull = data._negativeamortizationlimitpercent_isnull;
            // assigns the PrepaymentPenaltyIndicator data to the class member
            _prepaymentpenaltyindicator = data._prepaymentpenaltyindicator;
            _prepaymentpenaltyindicator_assigned = data._prepaymentpenaltyindicator_assigned;
            // assigns the PrepaymentPenaltyTermMonths data to the class member
            _prepaymentpenaltytermmonths = data._prepaymentpenaltytermmonths;
            _prepaymentpenaltytermmonths_isnull = data._prepaymentpenaltytermmonths_isnull;
            // assigns the PrepaymentRestrictionIndicator data to the class member
            _prepaymentrestrictionindicator = data._prepaymentrestrictionindicator;
            _prepaymentrestrictionindicator_assigned = data._prepaymentrestrictionindicator_assigned;
            // assigns the ProductDescription data to the class member
            _productdescription = data._productdescription;
            // assigns the ProductName data to the class member
            _productname = data._productname;
            // assigns the ScheduledFirstPaymentDate data to the class member
            _scheduledfirstpaymentdate = data._scheduledfirstpaymentdate;
            _scheduledfirstpaymentdate_isnull = data._scheduledfirstpaymentdate_isnull;
            // assigns the NameDocumentsDrawnInType data to the class member
            _namedocumentsdrawnintype = data._namedocumentsdrawnintype;
            _namedocumentsdrawnintype_isnull = data._namedocumentsdrawnintype_isnull;
            // assigns the GSEProjectClassificationType data to the class member
            _gseprojectclassificationtype = data._gseprojectclassificationtype;
            _gseprojectclassificationtype_isnull = data._gseprojectclassificationtype_isnull;
            // assigns the GSEPropertyType data to the class member
            _gsepropertytype = data._gsepropertytype;
            _gsepropertytype_isnull = data._gsepropertytype_isnull;
            // assigns the LienPriorityType data to the class member
            _lienprioritytype = data._lienprioritytype;
            _lienprioritytype_isnull = data._lienprioritytype_isnull;
            // assigns the LoanDocumentationType data to the class member
            _loandocumentationtype = data._loandocumentationtype;
            _loandocumentationtype_isnull = data._loandocumentationtype_isnull;
            // assigns the LoanRepaymentType data to the class member
            _loanrepaymenttype = data._loanrepaymenttype;
            _loanrepaymenttype_isnull = data._loanrepaymenttype_isnull;
            // assigns the MICertificationStatusType data to the class member
            _micertificationstatustype = data._micertificationstatustype;
            _micertificationstatustype_isnull = data._micertificationstatustype_isnull;
            // assigns the MICompanyNameType data to the class member
            _micompanynametype = data._micompanynametype;
            _micompanynametype_isnull = data._micompanynametype_isnull;
            // assigns the PaymentFrequencyType data to the class member
            _paymentfrequencytype = data._paymentfrequencytype;
            _paymentfrequencytype_isnull = data._paymentfrequencytype_isnull;
            // assigns the FullPrepaymentPenaltyOptionType data to the class member
            _fullprepaymentpenaltyoptiontype = data._fullprepaymentpenaltyoptiontype;
            _fullprepaymentpenaltyoptiontype_isnull = data._fullprepaymentpenaltyoptiontype_isnull;
            // assigns the LoanClosingStatusType data to the class member
            _loanclosingstatustype = data._loanclosingstatustype;
            _loanclosingstatustype_isnull = data._loanclosingstatustype_isnull;
            // assigns the ServicingTransferStatusType data to the class member
            _servicingtransferstatustype = data._servicingtransferstatustype;
            _servicingtransferstatustype_isnull = data._servicingtransferstatustype_isnull;

            RecalculateChecksum();
        }