Saimoe.Models.SaimoeContext.AddToContestants C# (CSharp) Method

AddToContestants() public method

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
return void
        public void AddToContestants(Contestant contestant)
        {
            base.AddObject("Contestants", contestant);
        }