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

AddToProductInventories() public méthode

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