Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Rsvps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRsvps(Rsvp rsvp)
 {
     base.AddObject("Rsvps", rsvp);
 }