Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void AddToCountry(global::EIV.Demo.Model.Country country)
 {
     base.AddObject("Country", country);
 }
Esempio n. 3
0
 partial void OnCountryChanging(global::EIV.Demo.Model.Country value);