/// <summary> /// Deprecated Method for adding a new object to the ShiftTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShiftTypes(ShiftType shiftType) { base.AddObject("ShiftTypes", shiftType); }
/// <summary> /// Create a new ShiftType object. /// </summary> /// <param name="shiftTypeID">Initial value of the ShiftTypeID property.</param> public static ShiftType CreateShiftType(global::System.Int16 shiftTypeID) { ShiftType shiftType = new ShiftType(); shiftType.ShiftTypeID = shiftTypeID; return shiftType; }