/// <summary> /// Deprecated Method for adding a new object to the EventAttendeeRating1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventAttendeeRating1(EventAttendeeRating1 eventAttendeeRating1) { base.AddObject("EventAttendeeRating1", eventAttendeeRating1); }
/// <summary> /// Create a new EventAttendeeRating1 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="signIn">Initial value of the SignIn property.</param> /// <param name="swag">Initial value of the Swag property.</param> /// <param name="refreshments">Initial value of the Refreshments property.</param> /// <param name="referralSource">Initial value of the ReferralSource property.</param> public static EventAttendeeRating1 CreateEventAttendeeRating1(global::System.Int32 id, global::System.Int32 eventAttendee_ID, global::System.Int32 signIn, global::System.Int32 swag, global::System.Int32 refreshments, global::System.Int32 referralSource) { EventAttendeeRating1 eventAttendeeRating1 = new EventAttendeeRating1(); eventAttendeeRating1.ID = id; eventAttendeeRating1.EventAttendee_ID = eventAttendee_ID; eventAttendeeRating1.SignIn = signIn; eventAttendeeRating1.Swag = swag; eventAttendeeRating1.Refreshments = refreshments; eventAttendeeRating1.ReferralSource = referralSource; return eventAttendeeRating1; }