/// <summary> /// Deprecated Method for adding a new object to the Rosters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRosters(Roster roster) { base.AddObject("Rosters", roster); }
/// <summary> /// Create a new Roster object. /// </summary> /// <param name="rosterID">Initial value of the RosterID property.</param> /// <param name="empDate">Initial value of the EmpDate property.</param> public static Roster CreateRoster(global::System.Int64 rosterID, global::System.String empDate) { Roster roster = new Roster(); roster.RosterID = rosterID; roster.EmpDate = empDate; return roster; }