/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref MailToBase 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 BorrowerId data to the class member _borrowerid = data._borrowerid; _borrowerid_assigned = data._borrowerid_assigned; // assigns the StreetAddress data to the class member _streetaddress = data._streetaddress; // assigns the StreetAddress2 data to the class member _streetaddress2 = data._streetaddress2; // assigns the City data to the class member _city = data._city; // assigns the State data to the class member _state = data._state; // assigns the PostalCode data to the class member _postalcode = data._postalcode; // assigns the Country data to the class member _country = data._country; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(MailToBase mailToBase) { InnerRemove(mailToBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(MailToBase mailToBase) { return(InnerAdd(mailToBase)); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(MailToBase mailToBase) { return InnerAdd(mailToBase); }