/// <summary>
 /// Create a new Battle object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="result">Initial value of the Result property.</param>
 public static Battle CreateBattle(global::System.Int32 id, global::System.Int32 result)
 {
     Battle battle = new Battle();
     battle.Id = id;
     battle.Result = result;
     return battle;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the StoredBattles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 internal void AddToStoredBattles(Battle battle)
 {
     base.AddObject("StoredBattles", battle);
 }