This is my error message The data types text and varchar are incompatible in the equal to operator. My code is something like
var result = db.Table.Where(x => x.columnA == "A").ToList();
I know the reason is the columnA's type in DB is text so they can't match
and I can't update the DB scheme.
Could I do this by using LINQ to SQL?
Update
This is my DAO
[Required]
[StringLength(10)]
public string MessageName { get; set; }