예제 #1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref DeclarationBase 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 BorrowerId data to the class member
            _borrowerid          = data._borrowerid;
            _borrowerid_assigned = data._borrowerid_assigned;
            // assigns the AlimonyChildSupportObligationIndicator data to the class member
            _alimonychildsupportobligationindicator          = data._alimonychildsupportobligationindicator;
            _alimonychildsupportobligationindicator_assigned = data._alimonychildsupportobligationindicator_assigned;
            // assigns the BankruptcyIndicator data to the class member
            _bankruptcyindicator          = data._bankruptcyindicator;
            _bankruptcyindicator_assigned = data._bankruptcyindicator_assigned;
            // assigns the BorrowedDownPaymentIndicator data to the class member
            _borroweddownpaymentindicator          = data._borroweddownpaymentindicator;
            _borroweddownpaymentindicator_assigned = data._borroweddownpaymentindicator_assigned;
            // assigns the CoMakerEndorserOfNoteIndicator data to the class member
            _comakerendorserofnoteindicator          = data._comakerendorserofnoteindicator;
            _comakerendorserofnoteindicator_assigned = data._comakerendorserofnoteindicator_assigned;
            // assigns the HomeownerPastThreeYearsType data to the class member
            _homeownerpastthreeyearstype        = data._homeownerpastthreeyearstype;
            _homeownerpastthreeyearstype_isnull = data._homeownerpastthreeyearstype_isnull;
            // assigns the IntentToOccupyType data to the class member
            _intenttooccupytype        = data._intenttooccupytype;
            _intenttooccupytype_isnull = data._intenttooccupytype_isnull;
            // assigns the LoanForeclosureOrJudgementIndicator data to the class member
            _loanforeclosureorjudgementindicator          = data._loanforeclosureorjudgementindicator;
            _loanforeclosureorjudgementindicator_assigned = data._loanforeclosureorjudgementindicator_assigned;
            // assigns the OutstandingJudgementsIndicator data to the class member
            _outstandingjudgementsindicator          = data._outstandingjudgementsindicator;
            _outstandingjudgementsindicator_assigned = data._outstandingjudgementsindicator_assigned;
            // assigns the PartyToLawsuitIndicator data to the class member
            _partytolawsuitindicator          = data._partytolawsuitindicator;
            _partytolawsuitindicator_assigned = data._partytolawsuitindicator_assigned;
            // assigns the PresentlyDelinquentIndicator data to the class member
            _presentlydelinquentindicator          = data._presentlydelinquentindicator;
            _presentlydelinquentindicator_assigned = data._presentlydelinquentindicator_assigned;
            // assigns the PropertyForeclosedPastSevenYearsIndicator data to the class member
            _propertyforeclosedpastsevenyearsindicator          = data._propertyforeclosedpastsevenyearsindicator;
            _propertyforeclosedpastsevenyearsindicator_assigned = data._propertyforeclosedpastsevenyearsindicator_assigned;
            // assigns the CitizenshipResidencyType data to the class member
            _citizenshipresidencytype        = data._citizenshipresidencytype;
            _citizenshipresidencytype_isnull = data._citizenshipresidencytype_isnull;
            // assigns the PriorPropertyTitleType data to the class member
            _priorpropertytitletype        = data._priorpropertytitletype;
            _priorpropertytitletype_isnull = data._priorpropertytitletype_isnull;
            // assigns the PriorPropertyUsageType data to the class member
            _priorpropertyusagetype        = data._priorpropertyusagetype;
            _priorpropertyusagetype_isnull = data._priorpropertyusagetype_isnull;


            RecalculateChecksum();
        }
예제 #2
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref DeclarationBase 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 BorrowerId data to the class member
            _borrowerid = data._borrowerid;
            _borrowerid_assigned = data._borrowerid_assigned;
            // assigns the AlimonyChildSupportObligationIndicator data to the class member
            _alimonychildsupportobligationindicator = data._alimonychildsupportobligationindicator;
            _alimonychildsupportobligationindicator_assigned = data._alimonychildsupportobligationindicator_assigned;
            // assigns the BankruptcyIndicator data to the class member
            _bankruptcyindicator = data._bankruptcyindicator;
            _bankruptcyindicator_assigned = data._bankruptcyindicator_assigned;
            // assigns the BorrowedDownPaymentIndicator data to the class member
            _borroweddownpaymentindicator = data._borroweddownpaymentindicator;
            _borroweddownpaymentindicator_assigned = data._borroweddownpaymentindicator_assigned;
            // assigns the CoMakerEndorserOfNoteIndicator data to the class member
            _comakerendorserofnoteindicator = data._comakerendorserofnoteindicator;
            _comakerendorserofnoteindicator_assigned = data._comakerendorserofnoteindicator_assigned;
            // assigns the HomeownerPastThreeYearsType data to the class member
            _homeownerpastthreeyearstype = data._homeownerpastthreeyearstype;
            _homeownerpastthreeyearstype_isnull = data._homeownerpastthreeyearstype_isnull;
            // assigns the IntentToOccupyType data to the class member
            _intenttooccupytype = data._intenttooccupytype;
            _intenttooccupytype_isnull = data._intenttooccupytype_isnull;
            // assigns the LoanForeclosureOrJudgementIndicator data to the class member
            _loanforeclosureorjudgementindicator = data._loanforeclosureorjudgementindicator;
            _loanforeclosureorjudgementindicator_assigned = data._loanforeclosureorjudgementindicator_assigned;
            // assigns the OutstandingJudgementsIndicator data to the class member
            _outstandingjudgementsindicator = data._outstandingjudgementsindicator;
            _outstandingjudgementsindicator_assigned = data._outstandingjudgementsindicator_assigned;
            // assigns the PartyToLawsuitIndicator data to the class member
            _partytolawsuitindicator = data._partytolawsuitindicator;
            _partytolawsuitindicator_assigned = data._partytolawsuitindicator_assigned;
            // assigns the PresentlyDelinquentIndicator data to the class member
            _presentlydelinquentindicator = data._presentlydelinquentindicator;
            _presentlydelinquentindicator_assigned = data._presentlydelinquentindicator_assigned;
            // assigns the PropertyForeclosedPastSevenYearsIndicator data to the class member
            _propertyforeclosedpastsevenyearsindicator = data._propertyforeclosedpastsevenyearsindicator;
            _propertyforeclosedpastsevenyearsindicator_assigned = data._propertyforeclosedpastsevenyearsindicator_assigned;
            // assigns the CitizenshipResidencyType data to the class member
            _citizenshipresidencytype = data._citizenshipresidencytype;
            _citizenshipresidencytype_isnull = data._citizenshipresidencytype_isnull;
            // assigns the PriorPropertyTitleType data to the class member
            _priorpropertytitletype = data._priorpropertytitletype;
            _priorpropertytitletype_isnull = data._priorpropertytitletype_isnull;
            // assigns the PriorPropertyUsageType data to the class member
            _priorpropertyusagetype = data._priorpropertyusagetype;
            _priorpropertyusagetype_isnull = data._priorpropertyusagetype_isnull;

            RecalculateChecksum();
        }
예제 #3
0
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(DeclarationBase declarationBase)
 {
     InnerRemove(declarationBase);
 }
예제 #4
0
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(DeclarationBase declarationBase)
 {
     return(InnerAdd(declarationBase));
 }