/// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(LiabilityBase liabilityBase)
 {
     return InnerAdd(liabilityBase);
 }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(LiabilityBase liabilityBase)
 {
     InnerRemove(liabilityBase);
 }
示例#3
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref LiabilityBase 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 BorrowerId data to the class member
            _borrowerid = data._borrowerid;
            _borrowerid_assigned = data._borrowerid_assigned;
            // assigns the REO_ID data to the class member
            _reo_id = data._reo_id;
            // assigns the HolderStreetAddress data to the class member
            _holderstreetaddress = data._holderstreetaddress;
            // assigns the HolderCity data to the class member
            _holdercity = data._holdercity;
            // assigns the HolderState data to the class member
            _holderstate = data._holderstate;
            // assigns the HolderPostalCode data to the class member
            _holderpostalcode = data._holderpostalcode;
            // assigns the AlimonyOwedToName data to the class member
            _alimonyowedtoname = data._alimonyowedtoname;
            // assigns the AccountIdentifier data to the class member
            _accountidentifier = data._accountidentifier;
            // assigns the ExclusionIndicator data to the class member
            _exclusionindicator = data._exclusionindicator;
            _exclusionindicator_assigned = data._exclusionindicator_assigned;
            // assigns the HolderName data to the class member
            _holdername = data._holdername;
            // assigns the MonthlyPaymentAmount data to the class member
            _monthlypaymentamount = data._monthlypaymentamount;
            _monthlypaymentamount_isnull = data._monthlypaymentamount_isnull;
            // assigns the PayoffStatusIndicator data to the class member
            _payoffstatusindicator = data._payoffstatusindicator;
            _payoffstatusindicator_assigned = data._payoffstatusindicator_assigned;
            // assigns the PayoffWithCurrentAssetsIndicator data to the class member
            _payoffwithcurrentassetsindicator = data._payoffwithcurrentassetsindicator;
            _payoffwithcurrentassetsindicator_assigned = data._payoffwithcurrentassetsindicator_assigned;
            // assigns the RemainingTermMonths data to the class member
            _remainingtermmonths = data._remainingtermmonths;
            _remainingtermmonths_isnull = data._remainingtermmonths_isnull;
            // assigns the Type data to the class member
            _type = data._type;
            _type_assigned = data._type_assigned;
            // assigns the UnpaidBalanceAmount data to the class member
            _unpaidbalanceamount = data._unpaidbalanceamount;
            _unpaidbalanceamount_isnull = data._unpaidbalanceamount_isnull;
            // assigns the SubjectLoanResubordinationIndicator data to the class member
            _subjectloanresubordinationindicator = data._subjectloanresubordinationindicator;
            _subjectloanresubordinationindicator_assigned = data._subjectloanresubordinationindicator_assigned;

            RecalculateChecksum();
        }