Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Invite EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvite(Invite invite)
 {
     base.AddObject("Invite", invite);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Invite object.
 /// </summary>
 /// <param name="inviteID">Initial value of the InviteID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="travelID">Initial value of the TravelID property.</param>
 public static Invite CreateInvite(global::System.Int32 inviteID, global::System.Int32 userID, global::System.Int32 travelID)
 {
     Invite invite = new Invite();
     invite.InviteID = inviteID;
     invite.UserID = userID;
     invite.TravelID = travelID;
     return invite;
 }