Example #1
0
        private void RestoreBackups()
        {
            _strFirstName        = _strFirstName_orig;
            _strMiddleName       = _strMiddleName_orig;
            _strLastName         = _strLastName_orig;
            _strAKA              = _strAKA_orig;
            _strSSN              = _strSSN_orig;
            _birthDate           = _birthDate_orig;
            _strDriversLicense   = _strDriversLicense_orig;
            _strStreet1          = _strStreet1_orig;
            _strStreet2          = _strStreet2_orig;
            _strCity             = _strCity_orig;
            StateID              = _intStateId_orig;
            _strZip              = _strZip_orig;
            _strPhoneHome        = _strPhoneHome_orig;
            _strPhoneMobile      = _strPhoneMobile_orig;
            _HasProbationOfficer = _HasProbationOfficer_orig;
            _strProbationOfficer = _strProbationOfficer_orig;
            _BarredUntilDate     = _BarredUntilDate_orig;
            _strNotes            = _strNotes_orig;
            _IsActive            = _IsActive_orig;

            _Employers = (_Employers_orig == null) ? null : _Employers_orig.Clone();
            _Plans     = (_Plans_orig == null) ? null : _Plans_orig.Clone();
        }
Example #2
0
        private void SaveBackups()
        {
            _strFirstName_orig        = _strFirstName;
            _strMiddleName_orig       = _strMiddleName;
            _strLastName_orig         = _strLastName;
            _strAKA_orig              = _strAKA;
            _strSSN_orig              = _strSSN;
            _birthDate_orig           = _birthDate;
            _strDriversLicense_orig   = _strDriversLicense;
            _strStreet1_orig          = _strStreet1;
            _strStreet2_orig          = _strStreet2;
            _strCity_orig             = _strCity;
            _intStateId_orig          = _intStateId;
            _strZip_orig              = _strZip;
            _strPhoneHome_orig        = _strPhoneHome;
            _strPhoneMobile_orig      = _strPhoneMobile;
            _HasProbationOfficer_orig = _HasProbationOfficer;
            _strProbationOfficer_orig = _strProbationOfficer;
            _BarredUntilDate_orig     = _BarredUntilDate;
            _strNotes_orig            = _strNotes;
            _IsActive_orig            = _IsActive;

            _Employers_orig = (_Employers == null) ? null : _Employers.Clone();
            _Plans_orig     = (_Plans == null) ? null : _Plans.Clone();
        }