/// <summary> /// Deprecated Method for adding a new object to the TimesheetStatus1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTimesheetStatus1(TimesheetStatus1 timesheetStatus1) { base.AddObject("TimesheetStatus1", timesheetStatus1); }
/// <summary> /// Create a new TimesheetStatus1 object. /// </summary> /// <param name="timesheetID">Initial value of the TimesheetID property.</param> /// <param name="status">Initial value of the status property.</param> public static TimesheetStatus1 CreateTimesheetStatus1(global::System.Int32 timesheetID, global::System.String status) { TimesheetStatus1 timesheetStatus1 = new TimesheetStatus1(); timesheetStatus1.TimesheetID = timesheetID; timesheetStatus1.status = status; return timesheetStatus1; }