Ejemplo n.º 1
0
        public static EmployerProfileEntity Map(this EmployerProfile profile, Guid employerId)
        {
            var entity = new EmployerProfileEntity {
                employerId = employerId
            };

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

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