views:

331

answers:

1

We are currently using SubSonic 3.0.0.2 and playing about with the Linq for it, we've noticed that the underlying SQL is not parameterized.

I'm aware that the query tool is and we can work with that but I'm just curious if having parameterized with Linq is possible?

Am I missing something? or is this not yet implemented in SubSonic.

Cheers Tony

+5  A: 

It is parameterized - just not for constant values (stuff you embed in code). If you use a variable then it will be.

Rob Conery
I need to learn how to use the SQL Profiler better ;)
TWith2Sugars