/// <summary>
 /// Deprecated Method for adding a new object to the Leagues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLeagues(League league)
 {
     base.AddObject("Leagues", league);
 }
 /// <summary>
 /// Create a new League object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="leagueName">Initial value of the LeagueName property.</param>
 public static League CreateLeague(global::System.Int64 id, global::System.String leagueName)
 {
     League league = new League();
     league.ID = id;
     league.LeagueName = leagueName;
     return league;
 }