public static State CreateState(int ID, int countryId, global::EIV.Demo.Model.Country country) { State state = new State(); state.Id = ID; state.CountryId = countryId; if ((country == null)) { throw new global::System.ArgumentNullException("country"); } state.Country = country; return(state); }
public void AddToCountry(global::EIV.Demo.Model.Country country) { base.AddObject("Country", country); }
partial void OnCountryChanging(global::EIV.Demo.Model.Country value);