Beispiel #1
0
        public static MemberProfileEntity Map(this MemberProfile profile, Guid memberId)
        {
            var entity = new MemberProfileEntity {
                memberId = memberId
            };

            profile.MapTo(entity);
            return(entity);
        }
Beispiel #2
0
        public static MemberProfile Map(this MemberProfileEntity entity)
        {
            var profile = new MemberProfile
            {
                UpdateStatusReminder = { FirstShownTime = entity.updateProfileReminderTime, Hide = entity.hideUpdateProfileReminder },
            };

            entity.MapTo(profile);
            return(profile);
        }
Beispiel #3
0
 partial void DeleteMemberProfileEntity(MemberProfileEntity instance);
Beispiel #4
0
 partial void UpdateMemberProfileEntity(MemberProfileEntity instance);
Beispiel #5
0
 partial void InsertMemberProfileEntity(MemberProfileEntity instance);
Beispiel #6
0
 public static void MapTo(this MemberProfile profile, MemberProfileEntity entity)
 {
     entity.updateProfileReminderTime = profile.UpdateStatusReminder.FirstShownTime;
     entity.hideUpdateProfileReminder = profile.UpdateStatusReminder.Hide;
     ((UserProfile)profile).MapTo(entity);
 }