/// <summary> /// Deprecated Method for adding a new object to the forums EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToforums(forum forum) { base.AddObject("forums", forum); }
/// <summary> /// Create a new forum object. /// </summary> /// <param name="forid">Initial value of the forid property.</param> /// <param name="catid">Initial value of the catid property.</param> public static forum Createforum(global::System.Int32 forid, global::System.Int32 catid) { forum forum = new forum(); forum.forid = forid; forum.catid = catid; return forum; }