Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Rosters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRosters(Roster roster)
 {
     base.AddObject("Rosters", roster);
 }
Пример #2
0
 /// <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;
 }