상속: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the Winners EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWinners(Winner winner)
 {
     base.AddObject("Winners", winner);
 }
 /// <summary>
 /// Create a new Winner object.
 /// </summary>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="userEmail">Initial value of the UserEmail property.</param>
 /// <param name="numberOfSpotsWon">Initial value of the NumberOfSpotsWon property.</param>
 /// <param name="catogoryId">Initial value of the CatogoryId property.</param>
 public static Winner CreateWinner(global::System.Int32 eventId, global::System.String userEmail, global::System.Int32 numberOfSpotsWon, global::System.Int32 catogoryId)
 {
     Winner winner = new Winner();
     winner.EventId = eventId;
     winner.UserEmail = userEmail;
     winner.NumberOfSpotsWon = numberOfSpotsWon;
     winner.CatogoryId = catogoryId;
     return winner;
 }