Saimoe.Models.SaimoeContext.AddToContestants C# (CSharp) Méthode

AddToContestants() public méthode

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