I am having a problem that creeps up over and over when using LINQ to SQL. I am getting the error: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'WHERE'.
Now I have done a great deal of digging, and the only cause I can seem to find is when users are overriding the Equals() or GetHasCode() methods of the generated classes. I am not overriding either. I am getting this error on two different project
with two different databases. I have tried everything every post I have found suggests. I have even scrapped my dbml file and re-created, all to no avail.
Anyone have any thoughts? They would be greatly appreciated!
Retail Information Technology Enterprises
View Complete Post