/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the ChildCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChildCategories(ChildCategory childCategory) { base.AddObject("ChildCategories", childCategory); }