![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Nhibernate
zhou349398998
这个作者很懒,什么都没留下…
展开
-
Nhibernate 开发中遇到过的错误
NHibernate:object references an unsaved transient instance – save the transient instance before flushing使用NHibernate时,多表级联更新时遇到这个错误:object r原创 2011-07-21 09:18:18 · 591 阅读 · 0 评论 -
带有角色信息的FormsAuthentication身份验证
步骤: 1. 登录时手动设置FormsAuthenticationTicket,代码如下: // 可手动添加FormsAuthenticationTicket FormsAuthenticationTicket Ticket = new FormsAuthenticationTicket(1, "username", DateTime.Now, DateTime.Now.AddMin转载 2012-09-21 14:11:21 · 768 阅读 · 0 评论