/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref SummaryBase 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; _id_assigned = data._id_assigned; // assigns the BorrowerId data to the class member _borrowerid = data._borrowerid; _borrowerid_isnull = data._borrowerid_isnull; // assigns the Amount data to the class member _amount = data._amount; _amount_isnull = data._amount_isnull; // assigns the AmountType data to the class member _amounttype = data._amounttype; _amounttype_isnull = data._amounttype_isnull; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(SummaryBase summaryBase) { InnerRemove(summaryBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(SummaryBase summaryBase) { return(InnerAdd(summaryBase)); }