Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Can someone provide example how to convert this sql statement to Linq to Sql

$
0
0
select c.GroupName , c.FormGroup from Category c, Roles r
 where  r.EmployeeNumber = 931 and (c.FormGroup = r.RoleId ) or
 ( r.GroupView = c.GroupView ) 

Someone provide example how to convert this to Linq to Sql

Thanks in advance


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>