/// <summary> /// Deprecated Method for adding a new object to the ForumSubscriptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToForumSubscriptions(ForumSubscriptions forumSubscriptions) { base.AddObject("ForumSubscriptions", forumSubscriptions); }
/// <summary> /// Create a new ForumSubscriptions object. /// </summary> /// <param name="subscriptionID">Initial value of the SubscriptionID property.</param> /// <param name="forumID">Initial value of the ForumID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="subscribeDate">Initial value of the SubscribeDate property.</param> public static ForumSubscriptions CreateForumSubscriptions(global::System.Int32 subscriptionID, global::System.Int32 forumID, global::System.Int32 userID, global::System.DateTime subscribeDate) { ForumSubscriptions forumSubscriptions = new ForumSubscriptions(); forumSubscriptions.SubscriptionID = subscriptionID; forumSubscriptions.ForumID = forumID; forumSubscriptions.UserID = userID; forumSubscriptions.SubscribeDate = subscribeDate; return forumSubscriptions; }