示例#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);
 }
示例#2
0
 /// <summary>
 /// Create a new category object.
 /// </summary>
 /// <param name="catid">Initial value of the catid property.</param>
 /// <param name="uid">Initial value of the uid property.</param>
 public static category Createcategory(global::System.Int32 catid, global::System.Int32 uid)
 {
     category category = new category();
     category.catid = catid;
     category.uid = uid;
     return category;
 }