isession Questions

2

Having built a small application using the Unit of Work/Repository pattern, I am struggling to understand how to use this properly within my business layer. My application has a a data access layer...
Allude asked 7/4, 2011 at 11:59

1

I have been trying for three days to figure out this NHibernatefacility thing with Castle and wcf and it's really getting frustrating. After solving a good dozen of errors, i have come to this one...
Brier asked 28/11, 2012 at 18:11

2

I'm migrating an application like this: Vehicle v = null; using (ISession session = MyNHibernateSession()) { v = Vehicle.FindById(1); } using (ISession session = MyNHibernateSession()) { // som...
Vamp asked 5/3, 2012 at 16:4

1

Solved

NHibernate's ISession exposes a method Persist() with two overloads. I cannot find documentation on this method anywhere. It's not even mentioned in the NHibernate reference material on http://nhib...
Verbalism asked 17/1, 2011 at 18:51

1

Solved

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. Enablin...
Predicant asked 22/11, 2009 at 7:43

3

I have a rather strange error with NHibernate. I am was having error with ISession been shared by across threads and got this resolved by supplying my own ADO.NET connection like: IDbConnection c...
Regeneracy asked 19/12, 2008 at 2:14
1

© 2022 - 2024 — McMap. All rights reserved.