Beispiel #1
0
        public static EmployerProfileEntity Map(this EmployerProfile profile, Guid employerId)
        {
            var entity = new EmployerProfileEntity {
                employerId = employerId
            };

            profile.MapTo(entity);
            return(entity);
        }
Beispiel #2
0
        public static EmployerProfile Map(this EmployerProfileEntity entity)
        {
            var profile = new EmployerProfile
            {
                HideCreditReminder     = entity.hideCreditReminder,
                HideBulkCreditReminder = entity.hideBulkCreditReminder,
            };

            entity.MapTo(profile);
            return(profile);
        }
Beispiel #3
0
 partial void DeleteEmployerProfileEntity(EmployerProfileEntity instance);
Beispiel #4
0
 partial void UpdateEmployerProfileEntity(EmployerProfileEntity instance);
Beispiel #5
0
 partial void InsertEmployerProfileEntity(EmployerProfileEntity instance);
Beispiel #6
0
 public static void MapTo(this EmployerProfile profile, EmployerProfileEntity entity)
 {
     entity.hideCreditReminder     = profile.HideCreditReminder;
     entity.hideBulkCreditReminder = profile.HideBulkCreditReminder;
     ((UserProfile)profile).MapTo(entity);
 }