/// <summary> /// Create a new DutyTime object. /// </summary> /// <param name="timeSample">Initial value of the TimeSample property.</param> public static DutyTime CreateDutyTime(global::System.String timeSample) { DutyTime dutyTime = new DutyTime(); dutyTime.TimeSample = timeSample; return dutyTime; }
/// <summary> /// Deprecated Method for adding a new object to the DutyTimes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDutyTimes(DutyTime dutyTime) { base.AddObject("DutyTimes", dutyTime); }