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