エンティティフレームワークを使用しています
private t_Market getMarketByCellsiteID(Guid cellsiteID)
{
try
{
t_Market market = null;
using (LiveLeaseEntities Entities = new LiveLeaseEntities())
{
market = (from m in Entities.t_Market
where m.OperatorId = (from o in Entities.t_CellSite
where o.CellSiteId == Guid.Parse("53B7B160-20C4-4B60-948A-06570E6E3CBA")
select o.OperatorId)
select m).Single();
return market;
}
}
タイプ「System.Linq.IQueryable」を「System.Guid」に暗黙的に変換できません