/// <summary> /// Create a new ReadInterval object. /// </summary> /// <param name="intervalId">Initial value of the IntervalId property.</param> /// <param name="idId">Initial value of the IdId property.</param> /// <param name="interval">Initial value of the Interval property.</param> /// <param name="maxInterval">Initial value of the MaxInterval property.</param> /// <param name="isEnabled">Initial value of the IsEnabled property.</param> public static ReadInterval CreateReadInterval(global::System.Int32 intervalId, global::System.Int32 idId, global::System.Int32 interval, global::System.Int32 maxInterval, global::System.Boolean isEnabled) { ReadInterval readInterval = new ReadInterval(); readInterval.IntervalId = intervalId; readInterval.IdId = idId; readInterval.Interval = interval; readInterval.MaxInterval = maxInterval; readInterval.IsEnabled = isEnabled; return(readInterval); }
/// <summary> /// Deprecated Method for adding a new object to the ReadIntervals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReadIntervals(ReadInterval readInterval) { base.AddObject("ReadIntervals", readInterval); }