有个字段映射为Image类型,删除时,提示 SQL Server does not handle comparison of NText, Text, Xml, or Image data types

解决方案:

在影射关系中,设置UpdateCheck = UpdateCheck.Never即可,如下:

  [Column(DbType = "Image", UpdateCheck = UpdateCheck.Never)]



相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-10-08
  • 2021-06-14
  • 2021-07-07
  • 2021-08-06
猜你喜欢
  • 2022-02-16
  • 2021-10-05
  • 2022-12-23
  • 2021-08-28
  • 2021-07-16
  • 2022-12-23
  • 2021-08-29
相关资源
相似解决方案