/// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref TransactionDetailBase 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 AlterationsImprovementsAndRepairsAmount data to the class member
            _alterationsimprovementsandrepairsamount        = data._alterationsimprovementsandrepairsamount;
            _alterationsimprovementsandrepairsamount_isnull = data._alterationsimprovementsandrepairsamount_isnull;
            // assigns the BorrowerPaidDiscountPointsTotalAmount data to the class member
            _borrowerpaiddiscountpointstotalamount        = data._borrowerpaiddiscountpointstotalamount;
            _borrowerpaiddiscountpointstotalamount_isnull = data._borrowerpaiddiscountpointstotalamount_isnull;
            // assigns the EstimatedClosingCostsAmount data to the class member
            _estimatedclosingcostsamount        = data._estimatedclosingcostsamount;
            _estimatedclosingcostsamount_isnull = data._estimatedclosingcostsamount_isnull;
            // assigns the MIAndFundingFeeFinancedAmount data to the class member
            _miandfundingfeefinancedamount        = data._miandfundingfeefinancedamount;
            _miandfundingfeefinancedamount_isnull = data._miandfundingfeefinancedamount_isnull;
            // assigns the MIAndFundingFeeTotalAmount data to the class member
            _miandfundingfeetotalamount        = data._miandfundingfeetotalamount;
            _miandfundingfeetotalamount_isnull = data._miandfundingfeetotalamount_isnull;
            // assigns the PrepaidItemsEstimatedAmount data to the class member
            _prepaiditemsestimatedamount        = data._prepaiditemsestimatedamount;
            _prepaiditemsestimatedamount_isnull = data._prepaiditemsestimatedamount_isnull;
            // assigns the PurchasePriceAmount data to the class member
            _purchasepriceamount        = data._purchasepriceamount;
            _purchasepriceamount_isnull = data._purchasepriceamount_isnull;
            // assigns the RefinanceIncludingDebtsToBePaidOffAmount data to the class member
            _refinanceincludingdebtstobepaidoffamount        = data._refinanceincludingdebtstobepaidoffamount;
            _refinanceincludingdebtstobepaidoffamount_isnull = data._refinanceincludingdebtstobepaidoffamount_isnull;
            // assigns the SalesConcessionAmount data to the class member
            _salesconcessionamount        = data._salesconcessionamount;
            _salesconcessionamount_isnull = data._salesconcessionamount_isnull;
            // assigns the SellerPaidClosingCostsAmount data to the class member
            _sellerpaidclosingcostsamount        = data._sellerpaidclosingcostsamount;
            _sellerpaidclosingcostsamount_isnull = data._sellerpaidclosingcostsamount_isnull;
            // assigns the SubordinateLienAmount data to the class member
            _subordinatelienamount        = data._subordinatelienamount;
            _subordinatelienamount_isnull = data._subordinatelienamount_isnull;
            // assigns the SubordinateLienHELOCAmount data to the class member
            _subordinatelienhelocamount        = data._subordinatelienhelocamount;
            _subordinatelienhelocamount_isnull = data._subordinatelienhelocamount_isnull;
            // assigns the FREReserveAmount data to the class member
            _frereserveamount        = data._frereserveamount;
            _frereserveamount_isnull = data._frereserveamount_isnull;
            // assigns the FREReservesAmount data to the class member
            _frereservesamount        = data._frereservesamount;
            _frereservesamount_isnull = data._frereservesamount_isnull;


            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(TransactionDetailBase transactionDetailBase)
 {
     InnerRemove(transactionDetailBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(TransactionDetailBase transactionDetailBase)
 {
     return(InnerAdd(transactionDetailBase));
 }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref TransactionDetailBase 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 AlterationsImprovementsAndRepairsAmount data to the class member
            _alterationsimprovementsandrepairsamount = data._alterationsimprovementsandrepairsamount;
            _alterationsimprovementsandrepairsamount_isnull = data._alterationsimprovementsandrepairsamount_isnull;
            // assigns the BorrowerPaidDiscountPointsTotalAmount data to the class member
            _borrowerpaiddiscountpointstotalamount = data._borrowerpaiddiscountpointstotalamount;
            _borrowerpaiddiscountpointstotalamount_isnull = data._borrowerpaiddiscountpointstotalamount_isnull;
            // assigns the EstimatedClosingCostsAmount data to the class member
            _estimatedclosingcostsamount = data._estimatedclosingcostsamount;
            _estimatedclosingcostsamount_isnull = data._estimatedclosingcostsamount_isnull;
            // assigns the MIAndFundingFeeFinancedAmount data to the class member
            _miandfundingfeefinancedamount = data._miandfundingfeefinancedamount;
            _miandfundingfeefinancedamount_isnull = data._miandfundingfeefinancedamount_isnull;
            // assigns the MIAndFundingFeeTotalAmount data to the class member
            _miandfundingfeetotalamount = data._miandfundingfeetotalamount;
            _miandfundingfeetotalamount_isnull = data._miandfundingfeetotalamount_isnull;
            // assigns the PrepaidItemsEstimatedAmount data to the class member
            _prepaiditemsestimatedamount = data._prepaiditemsestimatedamount;
            _prepaiditemsestimatedamount_isnull = data._prepaiditemsestimatedamount_isnull;
            // assigns the PurchasePriceAmount data to the class member
            _purchasepriceamount = data._purchasepriceamount;
            _purchasepriceamount_isnull = data._purchasepriceamount_isnull;
            // assigns the RefinanceIncludingDebtsToBePaidOffAmount data to the class member
            _refinanceincludingdebtstobepaidoffamount = data._refinanceincludingdebtstobepaidoffamount;
            _refinanceincludingdebtstobepaidoffamount_isnull = data._refinanceincludingdebtstobepaidoffamount_isnull;
            // assigns the SalesConcessionAmount data to the class member
            _salesconcessionamount = data._salesconcessionamount;
            _salesconcessionamount_isnull = data._salesconcessionamount_isnull;
            // assigns the SellerPaidClosingCostsAmount data to the class member
            _sellerpaidclosingcostsamount = data._sellerpaidclosingcostsamount;
            _sellerpaidclosingcostsamount_isnull = data._sellerpaidclosingcostsamount_isnull;
            // assigns the SubordinateLienAmount data to the class member
            _subordinatelienamount = data._subordinatelienamount;
            _subordinatelienamount_isnull = data._subordinatelienamount_isnull;
            // assigns the SubordinateLienHELOCAmount data to the class member
            _subordinatelienhelocamount = data._subordinatelienhelocamount;
            _subordinatelienhelocamount_isnull = data._subordinatelienhelocamount_isnull;
            // assigns the FREReserveAmount data to the class member
            _frereserveamount = data._frereserveamount;
            _frereserveamount_isnull = data._frereserveamount_isnull;
            // assigns the FREReservesAmount data to the class member
            _frereservesamount = data._frereservesamount;
            _frereservesamount_isnull = data._frereservesamount_isnull;

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