/// <summary>
 /// Deprecated Method for adding a new object to the GamePieces EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGamePieces(GamePiece gamePiece)
 {
     base.AddObject("GamePieces", gamePiece);
 }
 /// <summary>
 /// Create a new GamePiece object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 /// <param name="updatedOn">Initial value of the UpdatedOn property.</param>
 /// <param name="discriminator">Initial value of the Discriminator property.</param>
 public static GamePiece CreateGamePiece(global::System.Int32 id, global::System.DateTime createdOn, global::System.DateTime updatedOn, global::System.String discriminator)
 {
     GamePiece gamePiece = new GamePiece();
     gamePiece.Id = id;
     gamePiece.CreatedOn = createdOn;
     gamePiece.UpdatedOn = updatedOn;
     gamePiece.Discriminator = discriminator;
     return gamePiece;
 }