Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SessionAttendees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSessionAttendees(SessionAttendee sessionAttendee)
 {
     base.AddObject("SessionAttendees", sessionAttendee);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new SessionAttendee object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="session_ID">Initial value of the Session_ID property.</param>
 /// <param name="person_ID">Initial value of the Person_ID property.</param>
 /// <param name="speakerRating">Initial value of the SpeakerRating property.</param>
 /// <param name="sessionRating">Initial value of the SessionRating property.</param>
 public static SessionAttendee CreateSessionAttendee(global::System.Int32 id, global::System.Int32 session_ID, global::System.Int32 person_ID, global::System.Int32 speakerRating, global::System.Int32 sessionRating)
 {
     SessionAttendee sessionAttendee = new SessionAttendee();
     sessionAttendee.ID = id;
     sessionAttendee.Session_ID = session_ID;
     sessionAttendee.Person_ID = person_ID;
     sessionAttendee.SpeakerRating = speakerRating;
     sessionAttendee.SessionRating = sessionRating;
     return sessionAttendee;
 }