/// <summary> /// Deprecated Method for adding a new object to the PitcherDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPitcherDetails(PitcherDetail pitcherDetail) { base.AddObject("PitcherDetails", pitcherDetail); }
/// <summary> /// Create a new PitcherDetail object. /// </summary> /// <param name="playerID">Initial value of the playerID property.</param> /// <param name="yearID">Initial value of the yearID property.</param> public static PitcherDetail CreatePitcherDetail(global::System.String playerID, global::System.Int16 yearID) { PitcherDetail pitcherDetail = new PitcherDetail(); pitcherDetail.playerID = playerID; pitcherDetail.yearID = yearID; return pitcherDetail; }