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

AddToProductPhotoes() public méthode

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