/// <summary> /// Create a new ShiftMaster object. /// </summary> /// <param name="shiftID">Initial value of the ShiftID property.</param> /// <param name="shiftName">Initial value of the ShiftName property.</param> public static ShiftMaster CreateShiftMaster(global::System.Int32 shiftID, global::System.String shiftName) { ShiftMaster shiftMaster = new ShiftMaster(); shiftMaster.ShiftID = shiftID; shiftMaster.ShiftName = shiftName; return(shiftMaster); }
/// <summary> /// Deprecated Method for adding a new object to the ShiftMasters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShiftMasters(ShiftMaster shiftMaster) { base.AddObject("ShiftMasters", shiftMaster); }