Пример #1
0
 /// <summary>
 /// Create a new ChildCategory object.
 /// </summary>
 /// <param name="childCatId">Initial value of the ChildCatId property.</param>
 /// <param name="parentId">Initial value of the ParentId property.</param>
 public static ChildCategory CreateChildCategory(global::System.Int64 childCatId, global::System.Int64 parentId)
 {
     ChildCategory childCategory = new ChildCategory();
     childCategory.ChildCatId = childCatId;
     childCategory.ParentId = parentId;
     return childCategory;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ChildCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChildCategories(ChildCategory childCategory)
 {
     base.AddObject("ChildCategories", childCategory);
 }