/// <summary>
 /// Create a new League object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="country">Initial value of the country property.</param>
 public static League CreateLeague(global::System.Int32 id, global::System.String name, global::System.String country)
 {
     League league = new League();
     league.Id = id;
     league.name = name;
     league.country = country;
     return league;
 }
 /// <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);
 }