var cityList = from country in doc.Element(\"result\") .Element(\"cities\") .Descendants(\"city\") select ne
it will return an iQueryable, you will need to do something like using the First
cit.CountryID = db.Countries.First(a=>a.DOTWInternalID == citee.CountryCode).ID