Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
How to convert sql to linq using C#
Marjorie Fiallos
8y
444
1
Reply
Hi , please Can someone help me ?
I have a sql query which I need to convert in LINQ
SELECT '1' REG FROM a WHERE tipo LIKE 'DEPOSITO%' AND id IN (SELECT secuencia FROM b WHERE formulario = 'D1526' AND num = ' 123456789 ')
UNION ALL
SELECT '1' REG FROM a WHERE tipo LIKE 'DEPOSITO%' AND id IN(SELECT secuencia FROM b WHERE formulario_padre = 'D1526')
UNION ALL
SELECT '1' REG FROM c WHERE uti<>0 AND formulario='D1526';
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to use parameter array navigation properties EF linq ?
Why the result is returning only 1 column instead 2 column?