Cannot implicitly convert type 'System.Linq.IQueryable' to 'int?'

前端 未结 6 1796
梦毁少年i
梦毁少年i 2021-02-06 23:14
var cityList = from country in 
                    doc.Element(\"result\")
                    .Element(\"cities\")
                    .Descendants(\"city\")
select ne         


        
6条回答
  •  清歌不尽
    2021-02-06 23:29

    cit.CountryID = db.Countries.First(a=>a.DOTWInternalID == citee.CountryCode).ID
    

提交回复
热议问题