/// <summary>
 /// Deprecated Method for adding a new object to the Weathers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWeathers(Weather weather)
 {
     base.AddObject("Weathers", weather);
 }
 /// <summary>
 /// Create a new Weather object.
 /// </summary>
 /// <param name="weatherID">Initial value of the WeatherID property.</param>
 /// <param name="locationID">Initial value of the LocationID property.</param>
 /// <param name="temperature">Initial value of the Temperature property.</param>
 /// <param name="symbol">Initial value of the Symbol property.</param>
 /// <param name="time">Initial value of the Time property.</param>
 public static Weather CreateWeather(global::System.Int32 weatherID, global::System.Int32 locationID, global::System.String temperature, global::System.String symbol, global::System.DateTime time)
 {
     Weather weather = new Weather();
     weather.WeatherID = weatherID;
     weather.LocationID = locationID;
     weather.Temperature = temperature;
     weather.Symbol = symbol;
     weather.Time = time;
     return weather;
 }
Beispiel #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Weathers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWeathers(Weather weather)
 {
     base.AddObject("Weathers", weather);
 }