Testing.AdventureWorksEntities.AddToProductSubcategories C# (CSharp) Method

AddToProductSubcategories() public method

Deprecated Method for adding a new object to the ProductSubcategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToProductSubcategories ( ProductSubcategory productSubcategory ) : void
productSubcategory ProductSubcategory
return void
        public void AddToProductSubcategories(ProductSubcategory productSubcategory)
        {
            base.AddObject("ProductSubcategories", productSubcategory);
        }
    
AdventureWorksEntities