I need some advance feature of SQL inside sqlkata such as outer apply of IIF expression inside the projection. is there any way to create such query inside sqlkata?
Asked
Active
Viewed 388 times
1 Answers
2
The only way to achieve this is by using the SelectRaw
method.
query.SelectRaw("IIF(a > b, 'larger', 'smaller') as col").Select("Id");

amd
- 20,637
- 6
- 49
- 67
-
2this is for IIF function but what about outer apply? – Navid_pdp11 Jun 04 '18 at 10:04