/// <summary> /// Create a new AssetCategory object. /// </summary> /// <param name="categoryID">Initial value of the CategoryID property.</param> /// <param name="name">Initial value of the Name property.</param> public static AssetCategory CreateAssetCategory(global::System.Int32 categoryID, global::System.String name) { AssetCategory assetCategory = new AssetCategory(); assetCategory.CategoryID = categoryID; assetCategory.Name = name; return assetCategory; }
/// <summary> /// Deprecated Method for adding a new object to the AssetCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssetCategories(AssetCategory assetCategory) { base.AddObject("AssetCategories", assetCategory); }