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

AddToVotes() public method

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