Testing.AdventureWorksEntities.AddToSpecialOfferProducts C# (CSharp) Method

AddToSpecialOfferProducts() public method

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