/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref ValuationBase 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 AppraiserId data to the class member _appraiserid = data._appraiserid; _appraiserid_isnull = data._appraiserid_isnull; // assigns the MethodTypeOtherDescription data to the class member _methodtypeotherdescription = data._methodtypeotherdescription; // assigns the MethodType data to the class member _methodtype = data._methodtype; _methodtype_isnull = data._methodtype_isnull; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(ValuationBase valuationBase) { InnerRemove(valuationBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(ValuationBase valuationBase) { return(InnerAdd(valuationBase)); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(ValuationBase valuationBase) { return InnerAdd(valuationBase); }