Пример #1
0
        public static SessionAttendee Map(this Data.SessionAttendee s)
        {
            SessionAttendee attendee = new SessionAttendee()
            {
                ID            = s.ID,
                SpeakerName   = string.Format("{0} {1}", s.Session.Speaker.FirstName, s.Session.Speaker.LastName),
                SessionName   = s.Session.Name,
                SessionRating = s.SessionRating,
                SpeakerRating = s.SpeakerRating,
                Comment       = s.Comment
            };

            return(attendee);
        }
Пример #2
0
 public void RateSession(SessionAttendee s)
 {
 }
Пример #3
0
 public void AddToSessionAttendees(SessionAttendee sessionAttendee)
 {
     base.AddObject("SessionAttendees", sessionAttendee);
 }
Пример #4
0
 public void RateSession(SessionAttendee s)
 {
 }
Пример #5
0
 public static SessionAttendee CreateSessionAttendee(int ID, int session_ID, int person_ID, int rating)
 {
     SessionAttendee sessionAttendee = new SessionAttendee();
     sessionAttendee.ID = ID;
     sessionAttendee.Session_ID = session_ID;
     sessionAttendee.Person_ID = person_ID;
     sessionAttendee.Rating = rating;
     return sessionAttendee;
 }