/// <summary> /// Create a new MP_AddressGroups object. /// </summary> /// <param name="addressGroupId">Initial value of the AddressGroupId property.</param> /// <param name="countryId">Initial value of the CountryId property.</param> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="stateId">Initial value of the StateId property.</param> /// <param name="zipCodeId">Initial value of the ZipCodeId property.</param> public static MP_AddressGroups CreateMP_AddressGroups(global::System.Int32 addressGroupId, global::System.Int32 countryId, global::System.Int32 cityId, global::System.Int32 stateId, global::System.Int32 zipCodeId) { MP_AddressGroups mP_AddressGroups = new MP_AddressGroups(); mP_AddressGroups.AddressGroupId = addressGroupId; mP_AddressGroups.CountryId = countryId; mP_AddressGroups.CityId = cityId; mP_AddressGroups.StateId = stateId; mP_AddressGroups.ZipCodeId = zipCodeId; return mP_AddressGroups; }
/// <summary> /// Deprecated Method for adding a new object to the MP_AddressGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMP_AddressGroups(MP_AddressGroups mP_AddressGroups) { base.AddObject("MP_AddressGroups", mP_AddressGroups); }