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); }
public void RateSession(SessionAttendee s) { }
public void AddToSessionAttendees(SessionAttendee sessionAttendee) { base.AddObject("SessionAttendees", sessionAttendee); }
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; }