So I need to do a query where I need a bunch of NVL’s but I need to do these in linq (if it helps the db backend is BD2 and we are using subsonic) I searched the web for “NVL linq” and didn’t really find anything useful so I am asking here,
Thanks for your help…
You can use the null coalescing operator
??:The operator looks at the value on the left and if it is null then it uses the value on the right. So in the example if
row.ais null, thenabecomes"default".This assumes that
row.ais a string.