Windows Phone 数据库,删除提示 SQL Server does not handle comparison of NText, Text, Xml, or Image data types
有个字段映射为Image类型,删除时,提示 SQL Server does not handle comparison of NText, Text, Xml, or Image data types
解决方案:
在影射关系中,设置UpdateCheck = UpdateCheck.Never即可,如下:
[Column(DbType = "Image", UpdateCheck = UpdateCheck.Never)]