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