/// <summary> /// Deprecated Method for adding a new object to the Invitations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInvitations(Invitations invitations) { base.AddObject("Invitations", invitations); }
/// <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; }