Different SQL between VB.NET and C# LINQ to SQL SOLVED!!
Hi All,
Following my previous post I have solved
this issue. Somehow accidently I discovered that if the
field has allow nulls set on it VB.NET will add the Where
Coalesce in your query hence in my case slowing it down
dramatically. It seems that C# does not do this. So finally
I have my VB.NET sql comming out exactly the same as in C#
simply by turning off allow nulls on my database column...
Still seems like odd behaivour to me but for now it all
works fine.
Thanks
Stefan