示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the forums EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToforums(forum forum)
 {
     base.AddObject("forums", forum);
 }
示例#2
0
 /// <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;
 }