LINQ:正在做VB中的左联接. [英] LINQ : doing en Left join in VB.

查看:67
本文介绍了LINQ:正在做VB中的左联接.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


选择 * 客户
join 选择 * 操作 in ( 选择 max (id_a) id_a 操作 "> 通过 id_s))a
clients.id =
a.id_s

我如何在LIN中做到这一点

 

Q吗?

我尝试了很多方法,但对我没有用.

谢谢您

解决方案

感谢您的信息!我建议将您的问题发布到MS论坛之一中,

Microsoft开发人员网络 <跨度>> 论坛首页 > ; 存档论坛论坛 > LINQ Project General


Hi,
I would like to transform my SQL TO LINQ in VB.

select * from clients
left join ( select * from actions where actions.id_a in (select max(id_a) as id_a from actions group by id_s)) a
on clients.id=a.id_s

how i can do that in LIN

 

Q ?

I try many way but nothing works for me.

Thanks you by advance

解决方案

Hi,

 

Thank you for your post!  I would suggest posting your question in one of the MS Forum,


这篇关于LINQ:正在做VB中的左联接.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆