Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Shifts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShifts(Shifts shifts)
 {
     base.AddObject("Shifts", shifts);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Shifts object.
 /// </summary>
 /// <param name="shiftID">Initial value of the ShiftID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Shifts CreateShifts(global::System.Int32 shiftID, global::System.String name)
 {
     Shifts shifts = new Shifts();
     shifts.ShiftID = shiftID;
     shifts.Name = name;
     return shifts;
 }