/// <summary>
 /// Deprecated Method for adding a new object to the Battings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBattings(Batting batting)
 {
     base.AddObject("Battings", batting);
 }
 /// <summary>
 /// Create a new Batting object.
 /// </summary>
 /// <param name="playerID">Initial value of the playerID property.</param>
 /// <param name="yearID">Initial value of the yearID property.</param>
 /// <param name="stint">Initial value of the stint property.</param>
 public static Batting CreateBatting(global::System.String playerID, global::System.Int16 yearID, global::System.Int16 stint)
 {
     Batting batting = new Batting();
     batting.playerID = playerID;
     batting.yearID = yearID;
     batting.stint = stint;
     return batting;
 }