I have a simple Linq to SQL query that is pulling data with a where clause by a string. The result query doesn't put quotes around the string.
Example
string name = "John"; var query = from n in db.Names where n.Name == name select n;
the result is
.... WHERE ([t0].[Name] = John) ....
Network is a varchar(10) and TNT was populated from a string variable (not called John ;-).
The strange thing is...sometimes it does this and sometimes it doesn't!
Ideas?