TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Benmakhlouf Saad
NA
134
13.3k
convert sql to linq
Mar 30 2017 6:09 AM
Hi,
I need help, I want to convert an sql request to linq.
select PersonalMail,FirstName,LastName,leavingDate,BeginDate from Person pr
left outer join (select p.id,ar.BeginDate from[dbo].[ActivityRepport] ar inner join[dbo].[Person] p on p.ID = ar.PersonId where BeginDate Between @begindate and @finaldate
and FinalDate Between @begindate and @finaldate) res on res.id = pr.id where res.id is null
and Profile not In ('Administrateur', 'Directeur') and SSNumber not like '0'
and (LeavingDate is null or LeavingDate>=BeginDate ) and StartingDate <=@finaldate ;
Thanks,
Reply
Answers (
1
)
sqlite database combine multiple tables
How to display previous and next records from db