コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Invitations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvitations(Invitations invitations)
 {
     base.AddObject("Invitations", invitations);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Invitations object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="privacy">Initial value of the Privacy property.</param>
 public static Invitations CreateInvitations(global::System.Int32 id, global::System.Boolean privacy)
 {
     Invitations invitations = new Invitations();
     invitations.Id = id;
     invitations.Privacy = privacy;
     return invitations;
 }