Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShiftMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShiftMasters(ShiftMaster shiftMaster)
 {
     base.AddObject("ShiftMasters", shiftMaster);
 }