Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CityMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCityMasters(CityMaster cityMaster)
 {
     base.AddObject("CityMasters", cityMaster);
 }
Пример #2
0
 /// <summary>
 /// Create a new CityMaster object.
 /// </summary>
 /// <param name="cityId">Initial value of the CityId property.</param>
 /// <param name="cityName">Initial value of the CityName property.</param>
 /// <param name="stateId">Initial value of the StateId property.</param>
 public static CityMaster CreateCityMaster(global::System.Int32 cityId, global::System.String cityName, global::System.Int32 stateId)
 {
     CityMaster cityMaster = new CityMaster();
     cityMaster.CityId = cityId;
     cityMaster.CityName = cityName;
     cityMaster.StateId = stateId;
     return cityMaster;
 }