使用ntext字段使用Entity Framework在数据库中查找记录时出现以下错误
enter code hereThe data types ntext and nvarchar are incompatible
in the equal to operator.我在这里找到了一些与这个问题相关的文章,但我不能修改数据库和更改列类型。
发布于 2016-04-28 10:19:45
我使用dbcontext.database.sqlquery和like操作符来比较ntext行和我的值来解决这个问题。
https://stackoverflow.com/questions/36874266
复制相似问题