looking for a way to create Linq-to-SQL Master-Detail with where in Detail -


i have sql:

select *  order left outer join orderdetail   (select count(*) orderdetail orderdetail.id=order.id , orderdetail.productname='book')>0 

how can implement in linq

thanks

looks sql wrong start with. looks more correct:

select *  order left outer join orderdetail on (orderdetail.id=order.id , orderdetail.productname='book') 

Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -