コード例 #1
0
 /// <summary>
 /// Create a new Categories object.
 /// </summary>
 /// <param name="c_id">Initial value of the c_id property.</param>
 /// <param name="c_name">Initial value of the c_name property.</param>
 /// <param name="c_order">Initial value of the c_order property.</param>
 /// <param name="c_userscancreategroups">Initial value of the c_userscancreategroups property.</param>
 public static Categories CreateCategories(global::System.Int32 c_id, global::System.String c_name, global::System.Int32 c_order, global::System.Boolean c_userscancreategroups)
 {
     Categories categories = new Categories();
     categories.c_id = c_id;
     categories.c_name = c_name;
     categories.c_order = c_order;
     categories.c_userscancreategroups = c_userscancreategroups;
     return categories;
 }
コード例 #2
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(Categories categories)
 {
     base.AddObject("Categories", categories);
 }