をサポートしていません.NET 3.5のために、「入って」回避方法:)私はエンティティへのLINQを書く
string[] groups = GetGroups();
var fList = from f in _store.wcf_ServerFarm
join a in _store.ClientAccess on f.ServerFarmName equals a.AccessServerFarmName
join s in _store.Service on f.ServerFarmName equals s.ServerFarmName
where groups.Contains(s.ServerMachineName)
select new { f.ServerFarmAddress, s.ServerMachineName, s.ServiceName, s.ServiceConfig, s.ServicePath };
しかし、3.5がサポートしていませんでした.NET(入っては、私はそれをアップグレードすることができませんでした何らかの理由で。それを理解する方法。私は "Any()、esql"などを使用しようとしましたが、うまくいきませんでした。 ありがとう!
関連:http://stackoverflow.com/questions/88473/how-to-do-a-where-in-values-in-linq-to-entities-3-5 –