/// <summary> /// Create a new Rsvp object. /// </summary> /// <param name="dinnerId">Initial value of the DinnerId property.</param> /// <param name="attendeeId">Initial value of the AttendeeId property.</param> /// <param name="attendeeName">Initial value of the AttendeeName property.</param> public static Rsvp CreateRsvp(global::System.Guid dinnerId, global::System.Guid attendeeId, global::System.String attendeeName) { Rsvp rsvp = new Rsvp(); rsvp.DinnerId = dinnerId; rsvp.AttendeeId = attendeeId; rsvp.AttendeeName = attendeeName; return rsvp; }
/// <summary> /// Deprecated Method for adding a new object to the Rsvps EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRsvps(Rsvp rsvp) { base.AddObject("Rsvps", rsvp); }