Hi,
Does anyone know how too solve this:
I want to delete a row from database and I keep getting this error:
The ntext and image data types cannot be used in WHERE, HAVING, GROUP BY, ON, or IN clauses, except when these data types are used with the LIKE or IS NULL predicates. delete from database
string test = "test";
Message m = db.Messages.Single(p => p.Name.StartsWith(test))
db.Messages.DeleteOnSubmit(m);
db.SubmitChanges();
Table name is Messages
Name is type ntext