예제 #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(Shift shift)
 {
     base.AddObject("Shifts", shift);
 }
예제 #2
0
 /// <summary>
 /// Create a new Shift object.
 /// </summary>
 /// <param name="shiftID">Initial value of the ShiftID property.</param>
 public static Shift CreateShift(global::System.Int16 shiftID)
 {
     Shift shift = new Shift();
     shift.ShiftID = shiftID;
     return shift;
 }