/// <summary> /// Create a new MP_City object. /// </summary> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="stateId">Initial value of the StateId property.</param> /// <param name="cityName">Initial value of the CityName property.</param> public static MP_City CreateMP_City(global::System.Int32 cityId, global::System.Int32 stateId, global::System.String cityName) { MP_City mP_City = new MP_City(); mP_City.CityId = cityId; mP_City.StateId = stateId; mP_City.CityName = cityName; return mP_City; }
/// <summary> /// Deprecated Method for adding a new object to the MP_City EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMP_City(MP_City mP_City) { base.AddObject("MP_City", mP_City); }