/// <summary> /// Deprecated Method for adding a new object to the EventAttendeeSessionRating1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventAttendeeSessionRating1(EventAttendeeSessionRating1 eventAttendeeSessionRating1) { base.AddObject("EventAttendeeSessionRating1", eventAttendeeSessionRating1); }
/// <summary> /// Create a new EventAttendeeSessionRating1 object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="eventAttendee_ID">Initial value of the EventAttendee_ID property.</param> /// <param name="session_ID">Initial value of the Session_ID property.</param> /// <param name="ranking">Initial value of the Ranking property.</param> /// <param name="timeslot_ID">Initial value of the Timeslot_ID property.</param> public static EventAttendeeSessionRating1 CreateEventAttendeeSessionRating1(global::System.Int32 id, global::System.Int32 eventAttendee_ID, global::System.Int32 session_ID, global::System.Int32 ranking, global::System.Int32 timeslot_ID) { EventAttendeeSessionRating1 eventAttendeeSessionRating1 = new EventAttendeeSessionRating1(); eventAttendeeSessionRating1.Id = id; eventAttendeeSessionRating1.EventAttendee_ID = eventAttendee_ID; eventAttendeeSessionRating1.Session_ID = session_ID; eventAttendeeSessionRating1.Ranking = ranking; eventAttendeeSessionRating1.Timeslot_ID = timeslot_ID; return eventAttendeeSessionRating1; }