/// <summary>
 /// Deprecated Method for adding a new object to the PrizeStates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPrizeStates(PrizeState prizeState)
 {
     base.AddObject("PrizeStates", prizeState);
 }
 /// <summary>
 /// Create a new PrizeState object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="expirationDate">Initial value of the ExpirationDate property.</param>
 public static PrizeState CreatePrizeState(global::System.Int64 id, global::System.Int16 state, global::System.DateTime expirationDate)
 {
     PrizeState prizeState = new PrizeState();
     prizeState.Id = id;
     prizeState.State = state;
     prizeState.ExpirationDate = expirationDate;
     return prizeState;
 }