Testing.AdventureWorksEntities.AddToProducts C# (CSharp) Méthode

AddToProducts() public méthode

Deprecated Method for adding a new object to the Products EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToProducts ( Product product ) : void
product Product
Résultat void
        public void AddToProducts(Product product)
        {
            base.AddObject("Products", product);
        }
    
AdventureWorksEntities