public void SelectCountry(bool check, string countryName)
        {
            //E.Countries country = countriesService.GetByDescription(countryName);
            Country country = new Country();

            ClientDataContext db = new ClientDataContext();
            country = (from c in db.Countries where c.Description == countryName select c).Single();

            // The locator of the checkbox of a specific country is "c_" plus the country id
            UIUtil.DefaultProvider.SetCheckbox("c_" + country.CountryId, check, LocateBy.Id);
        }
 partial void DeleteCountry(Country instance);
 partial void UpdateCountry(Country instance);
 partial void InsertCountry(Country instance);
        public void VerifyCountry(bool check, string countryName)
        {
            //E.Countries country = countriesService.GetByDescription(countryName);
            Country country = new Country();

            ClientDataContext db = new ClientDataContext();
            country = (from c in db.Countries where c.Description == countryName select c).Single();

            VerifyTool.VerifyValue(check, UIUtil.DefaultProvider.IsChecked("c_" + country.CountryId.ToString(), LocateBy.Id), "The country " + countryName + " is selected : {0}");
        }