Testing.AdventureWorksEntities.AddToProductModels C# (CSharp) Method

AddToProductModels() public method

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