/// <summary>
 /// Create a new hs_hr_workshift object.
 /// </summary>
 /// <param name="workshift_id">Initial value of the workshift_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="hours_per_day">Initial value of the hours_per_day property.</param>
 public static hs_hr_workshift Createhs_hr_workshift(global::System.Int32 workshift_id, global::System.String name, global::System.Decimal hours_per_day)
 {
     hs_hr_workshift hs_hr_workshift = new hs_hr_workshift();
     hs_hr_workshift.workshift_id = workshift_id;
     hs_hr_workshift.name = name;
     hs_hr_workshift.hours_per_day = hours_per_day;
     return hs_hr_workshift;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the hs_hr_workshift EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohs_hr_workshift(hs_hr_workshift hs_hr_workshift)
 {
     base.AddObject("hs_hr_workshift", hs_hr_workshift);
 }