Testing.AdventureWorksEntities.AddToProductModels C# (CSharp) 메소드

AddToProductModels() 공개 메소드

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
리턴 void
        public void AddToProductModels(ProductModel productModel)
        {
            base.AddObject("ProductModels", productModel);
        }
    
AdventureWorksEntities