/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref LoanPurposeBase 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 GSETitleMannerHeldDescription data to the class member _gsetitlemannerhelddescription = data._gsetitlemannerhelddescription; // assigns the OtherLoanPurposeDescription data to the class member _otherloanpurposedescription = data._otherloanpurposedescription; // assigns the PropertyLeaseholdExpirationDate data to the class member _propertyleaseholdexpirationdate = data._propertyleaseholdexpirationdate; _propertyleaseholdexpirationdate_isnull = data._propertyleaseholdexpirationdate_isnull; // assigns the PropertyUsageType data to the class member _propertyusagetype = data._propertyusagetype; _propertyusagetype_isnull = data._propertyusagetype_isnull; // assigns the PropertyRightsType data to the class member _propertyrightstype = data._propertyrightstype; _propertyrightstype_isnull = data._propertyrightstype_isnull; // assigns the Type data to the class member _type = data._type; _type_isnull = data._type_isnull; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(LoanPurposeBase loanPurposeBase) { InnerRemove(loanPurposeBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(LoanPurposeBase loanPurposeBase) { return(InnerAdd(loanPurposeBase)); }