/// <summary> /// Deprecated Method for adding a new object to the Pitchings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPitchings(Pitching pitching) { base.AddObject("Pitchings", pitching); }
/// <summary> /// Create a new Pitching 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 Pitching CreatePitching(global::System.String playerID, global::System.Int16 yearID, global::System.Int16 stint) { Pitching pitching = new Pitching(); pitching.playerID = playerID; pitching.yearID = yearID; pitching.stint = stint; return pitching; }