/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref EmployerBase 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 BorrowerId data to the class member _borrowerid = data._borrowerid; _borrowerid_assigned = data._borrowerid_assigned; // assigns the Name data to the class member _name = data._name; // assigns the StreetAddress data to the class member _streetaddress = data._streetaddress; // 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 TelephoneNumber data to the class member _telephonenumber = data._telephonenumber; // assigns the CurrentEmploymentMonthsOnJob data to the class member _currentemploymentmonthsonjob = data._currentemploymentmonthsonjob; _currentemploymentmonthsonjob_isnull = data._currentemploymentmonthsonjob_isnull; // assigns the CurrentEmploymentTimeInLineOfWorkYears data to the class member _currentemploymenttimeinlineofworkyears = data._currentemploymenttimeinlineofworkyears; _currentemploymenttimeinlineofworkyears_isnull = data._currentemploymenttimeinlineofworkyears_isnull; // assigns the CurrentEmploymentYearsOnJob data to the class member _currentemploymentyearsonjob = data._currentemploymentyearsonjob; _currentemploymentyearsonjob_isnull = data._currentemploymentyearsonjob_isnull; // assigns the EmploymentBorrowerSelfEmployedIndicator data to the class member _employmentborrowerselfemployedindicator = data._employmentborrowerselfemployedindicator; _employmentborrowerselfemployedindicator_assigned = data._employmentborrowerselfemployedindicator_assigned; // assigns the EmploymentCurrentIndicator data to the class member _employmentcurrentindicator = data._employmentcurrentindicator; _employmentcurrentindicator_assigned = data._employmentcurrentindicator_assigned; // assigns the EmploymentPositionDescription data to the class member _employmentpositiondescription = data._employmentpositiondescription; // assigns the EmploymentPrimaryIndicator data to the class member _employmentprimaryindicator = data._employmentprimaryindicator; _employmentprimaryindicator_assigned = data._employmentprimaryindicator_assigned; // assigns the IncomeEmploymentMonthlyAmount data to the class member _incomeemploymentmonthlyamount = data._incomeemploymentmonthlyamount; _incomeemploymentmonthlyamount_isnull = data._incomeemploymentmonthlyamount_isnull; // assigns the PreviousEmploymentEndDate data to the class member _previousemploymentenddate = data._previousemploymentenddate; _previousemploymentenddate_isnull = data._previousemploymentenddate_isnull; // assigns the PreviousEmploymentStartDate data to the class member _previousemploymentstartdate = data._previousemploymentstartdate; _previousemploymentstartdate_isnull = data._previousemploymentstartdate_isnull; RecalculateChecksum(); }
/// <summary> /// Removes an object instance from the current collection set of items. /// </summary> public virtual void Remove(EmployerBase employerBase) { InnerRemove(employerBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(EmployerBase employerBase) { return(InnerAdd(employerBase)); }