使用Nhibernate删除数据的时候,抛出异常:
SQL insert, update or delete failed (expected affected row count: 1, actual affected row count: 0). Possible causes: the row was modified or deleted by another user, or a trigger is reporting misleading row count.
查了好久不知道什么原因。继续查找原因。
备注:我的数据表是没有trigger的。