Can anyone be darling and convert this SQL query to Linq and EF RRS feed

  • Question

  • User283528319 posted

    Hi all,

    I need to convert this SQL query into LINQ EF version.

    select evraklar.* from `numune_sahipleri`
    join `evraklar` on `numune_sahipleri`.`evraklar_id`=evraklar.`evraklar_id`
    join `sevkedilen_lablar` on `evraklar`.`evraklar_id`=`sevkedilen_lablar`.`evraklar_id`
    where birimler_id=1 and `numune_sahipleri`.adisoyadi like ('%Name%');

    but no luck trying to convert it using include and theninclude and where (which is obviously not working after theninclude)

    Friday, June 28, 2019 6:39 AM

All replies