コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DutyTimes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDutyTimes(DutyTime dutyTime)
 {
     base.AddObject("DutyTimes", dutyTime);
 }