/// <summary> /// Create a new Weather object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="station">Initial value of the Station property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="tMax">Initial value of the TMax property.</param> /// <param name="tMin">Initial value of the TMin property.</param> /// <param name="wind">Initial value of the Wind property.</param> /// <param name="rain">Initial value of the Rain property.</param> public static Weather CreateWeather(global::System.Int32 id, global::System.String station, global::System.DateTime date, global::System.Decimal tMax, global::System.Decimal tMin, global::System.Decimal wind, global::System.Decimal rain) { Weather weather = new Weather(); weather.ID = id; weather.Station = station; weather.Date = date; weather.TMax = tMax; weather.TMin = tMin; weather.Wind = wind; weather.Rain = rain; return weather; }
/// <summary> /// Deprecated Method for adding a new object to the Weather EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWeather(Weather weather) { base.AddObject("Weather", weather); }