isession
Service Layer: 1 Instance Per Application or Per View Model? (Or: giving each view model its own data context)
I\'m building C#/.Net 3.5 app using three layers: UI (view/view models), service, and data access/persistence.[详细]
2023-01-04 14:38 分类:问答How to get the NHibernate ISession that is HttpContextScoped by StructureMap
I\'m somewhat new to the MVC framework and in accordance with the following post: NHibernate with StructureMap I am not sure how to actually get the HttpContextScoped ISession in my controller?[详细]
2023-01-02 18:53 分类:问答Removing objects from NHibernate second level cache
I just started thinking about using the NHibernate second level cache in one of my apps. I would probably use the NHibernate.Caches.SysCache.SysCacheProvider which relies on ASP.net cache.[详细]
2022-12-12 18:08 分类:问答