/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref ParsedStreetAddressBase 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 ApartmentOrUnit data to the class member _apartmentorunit = data._apartmentorunit; // assigns the DirectionPrefix data to the class member _directionprefix = data._directionprefix; // assigns the DirectionSuffix data to the class member _directionsuffix = data._directionsuffix; // assigns the BuildingNumber data to the class member _buildingnumber = data._buildingnumber; // assigns the HouseNumber data to the class member _housenumber = data._housenumber; // assigns the Military_APO_FPO data to the class member _military_apo_fpo = data._military_apo_fpo; // assigns the PostOfficeBox data to the class member _postofficebox = data._postofficebox; // assigns the RuralRoute data to the class member _ruralroute = data._ruralroute; // assigns the StreetName data to the class member _streetname = data._streetname; // assigns the StreetSuffix data to the class member _streetsuffix = data._streetsuffix; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(ParsedStreetAddressBase parsedStreetAddressBase) { InnerRemove(parsedStreetAddressBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(ParsedStreetAddressBase parsedStreetAddressBase) { return InnerAdd(parsedStreetAddressBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(ParsedStreetAddressBase parsedStreetAddressBase) { return(InnerAdd(parsedStreetAddressBase)); }