Пример #1
0
        public MeetingFollowupEntity(DataAccessLogic.tblMeetingFollowup meetingFollowup)
        {
            this.ID           = meetingFollowup.ID;
            this.DetailMinute = meetingFollowup.DetailMinute;

            this.MeetingSchedule = new MeetingScheduleEntity(meetingFollowup.tblMeetingSchedule);

            this.CreatedBy   = meetingFollowup.CreatedBy;
            this.CreatedDate = meetingFollowup.CreatedDate;
            this.UpdatedBy   = meetingFollowup.UpdatedBy;
            this.UpdatedDate = meetingFollowup.UpdatedDate;
        }
Пример #2
0
        public T MapToModel <T>() where T : class
        {
            DataAccessLogic.tblMeetingFollowup meetingFollowup = new DataAccessLogic.tblMeetingFollowup();
            meetingFollowup.ID           = this.ID;
            meetingFollowup.DetailMinute = this.DetailMinute;

            meetingFollowup.MeetingScheduleID = this.MeetingSchedule.ID;

            meetingFollowup.CreatedBy   = this.CreatedBy;
            meetingFollowup.CreatedDate = this.CreatedDate;
            meetingFollowup.UpdatedBy   = this.UpdatedBy;
            meetingFollowup.UpdatedDate = this.UpdatedDate;

            return(meetingFollowup as T);
        }