如何在C#中加入linq?

问题描述 投票:1回答:2

如何将sql转换为system.linq?

Select top 100 percent s.a,s.b,s.c,s.d
From table a as s, table b as x
Where 
    s.a=x.a and s.b=x.b and s.c=x.c 
Group by 
    s.a,s.b,s.c,s.d
sql linq
2个回答
0
投票

根据我对您问题的理解;似乎您想在c#中获取数据并加入。如果是这样,那么您可以执行以下操作:


0
投票

我认为您正在询问如何像在sql中一样加入linq,如果是,请参见以下内容:

© www.soinside.com 2019 - 2024. All rights reserved.