Example #1
0
 /// <summary>
 /// Create a new Categories object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="parentId">Initial value of the ParentId property.</param>
 public static Categories CreateCategories(global::System.Int32 id, global::System.Int32 parentId)
 {
     Categories categories = new Categories();
     categories.Id = id;
     categories.ParentId = parentId;
     return categories;
 }
Example #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);
 }