/// <summary> /// Create a new RSVP object. /// </summary> /// <param name="rsvpID">Initial value of the RsvpID property.</param> /// <param name="dinnerID">Initial value of the DinnerID property.</param> /// <param name="attendeeName">Initial value of the AttendeeName property.</param> public static RSVP CreateRSVP(global::System.Int32 rsvpID, global::System.Int32 dinnerID, global::System.String attendeeName) { RSVP rSVP = new RSVP(); rSVP.RsvpID = rsvpID; rSVP.DinnerID = dinnerID; 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); }