Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the categories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocategories(category category)
 {
     base.AddObject("categories", category);
 }
Example #2
0
 /// <summary>
 /// Create a new category object.
 /// </summary>
 /// <param name="id_num">Initial value of the id_num property.</param>
 public static category Createcategory(global::System.Int32 id_num)
 {
     category category = new category();
     category.id_num = id_num;
     return category;
 }