コード例 #1
0
 /// <summary>
 /// Create a new tempCity object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="province">Initial value of the Province property.</param>
 /// <param name="country">Initial value of the Country property.</param>
 /// <param name="toTrain">Initial value of the ToTrain property.</param>
 /// <param name="toShip">Initial value of the ToShip property.</param>
 /// <param name="tripStatus">Initial value of the TripStatus property.</param>
 /// <param name="weather">Initial value of the weather property.</param>
 /// <param name="hotelprovince">Initial value of the hotelprovince property.</param>
 public static tempCity CreatetempCity(global::System.Int32 id, global::System.Int32 city, global::System.Int32 province, global::System.Int32 country, global::System.String toTrain, global::System.String toShip, global::System.String tripStatus, global::System.String weather, global::System.Int32 hotelprovince)
 {
     tempCity tempCity = new tempCity();
     tempCity.ID = id;
     tempCity.City = city;
     tempCity.Province = province;
     tempCity.Country = country;
     tempCity.ToTrain = toTrain;
     tempCity.ToShip = toShip;
     tempCity.TripStatus = tripStatus;
     tempCity.weather = weather;
     tempCity.hotelprovince = hotelprovince;
     return tempCity;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tempCity EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotempCity(tempCity tempCity)
 {
     base.AddObject("tempCity", tempCity);
 }