日期:2014-05-16  浏览次数:20557 次

NHibernate报错“Unexpected row count: 2; expected: 1”

NHibernate报错“Unexpected row count: 2; expected: 1”

解决办法1:检查table是不是添加trigger,再检查trigger中有没有添加sql“set nocount on”;