/// <summary> /// Create a new TimeScale object. /// </summary> /// <param name="timeScale1">Initial value of the TimeScale1 property.</param> /// <param name="presText">Initial value of the PresText property.</param> /// <param name="regular">Initial value of the Regular property.</param> /// <param name="timeUnit">Initial value of the TimeUnit property.</param> /// <param name="storeFormat">Initial value of the StoreFormat property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="logDate">Initial value of the LogDate property.</param> public static TimeScale CreateTimeScale(global::System.String timeScale1, global::System.String presText, global::System.String regular, global::System.String timeUnit, global::System.String storeFormat, global::System.String userId, global::System.DateTime logDate) { TimeScale timeScale = new TimeScale(); timeScale.TimeScale1 = timeScale1; timeScale.PresText = presText; timeScale.Regular = regular; timeScale.TimeUnit = timeUnit; timeScale.StoreFormat = storeFormat; timeScale.UserId = userId; timeScale.LogDate = logDate; return timeScale; }
/// <summary> /// Deprecated Method for adding a new object to the TimeScales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTimeScales(TimeScale timeScale) { base.AddObject("TimeScales", timeScale); }