public NormalUserViewModel(normal_user normalUser, email_address email)
        {
            UserID = normalUser.user_id;
            LogonID = normalUser.logon_id;
            FamilyName = normalUser.family_name;
            GivenName = normalUser.given_name;
            Generation = normalUser.generation;
            Age = normalUser.age;
            OccupationCode = normalUser.occupation_code;

            if (email != null)
                EmailAddress = email.address;
        }
 public normal_user GetNormalUserEntity()
 {
     var normalUser = new normal_user();
     normalUser.user_id = (int)UserID;
     normalUser.logon_id = LogonID;
     normalUser.family_name = FamilyName;
     normalUser.given_name = GivenName;
     normalUser.generation = (int)Generation;
     normalUser.age = Age;
     normalUser.occupation_code = OccupationCode;
     return normalUser;
 }