Esempio n. 1
0
 /// <summary>
 /// Create a new ForumItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static ForumItem CreateForumItem(global::System.Int32 id)
 {
     ForumItem forumItem = new ForumItem();
     forumItem.Id = id;
     return forumItem;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ForumItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToForumItems(ForumItem forumItem)
 {
     base.AddObject("ForumItems", forumItem);
 }