/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref BuydownBase 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 ChangeFrequencyMonths data to the class member _changefrequencymonths = data._changefrequencymonths; _changefrequencymonths_isnull = data._changefrequencymonths_isnull; // assigns the DurationMonths data to the class member _durationmonths = data._durationmonths; _durationmonths_isnull = data._durationmonths_isnull; // assigns the IncreaseRatePercent data to the class member _increaseratepercent = data._increaseratepercent; _increaseratepercent_isnull = data._increaseratepercent_isnull; // assigns the LenderFundingIndicator data to the class member _lenderfundingindicator = data._lenderfundingindicator; _lenderfundingindicator_assigned = data._lenderfundingindicator_assigned; // assigns the PermanentIndicator data to the class member _permanentindicator = data._permanentindicator; _permanentindicator_assigned = data._permanentindicator_assigned; // assigns the BaseDataType data to the class member _basedatatype = data._basedatatype; _basedatatype_isnull = data._basedatatype_isnull; // assigns the ContributorType data to the class member _contributortype = data._contributortype; _contributortype_isnull = data._contributortype_isnull; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(BuydownBase buydownBase) { InnerRemove(buydownBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(BuydownBase buydownBase) { return(InnerAdd(buydownBase)); }