1

我想将以下请求翻译为带有实体框架的 linq:

SELECT * 
FROM productivite
INNER JOIN Clients
ON Clients.ClientName = productivite.action and Clients.Responsable ='resp1'

我怎样才能做到这一点?

4

1 回答 1

1
var results = from p in productivite
              join c in clients on p.clientname equals c.action
              where c.responsable == "resp1"
              select p, c;
于 2013-09-17T14:47:10.657 回答