首页新闻找找看学习计划
当前位置: 博问标签 /null id in entry/未解决/ 已解决
0
回答数

20 NHibernate报错null id in entry (don't flush the Session after an exception occurs)

private readonly ISession _session = SessionBuilder.GetSession(); public int Save<T>(T entity) where