nhibernate
NHibernate and ADO.NET Connection Pooling
It seems that NHibernate does not pool ADO.NET database connections. Connections are only closed when the transaction is committed or rolled back. A review of the source code shows that there is no wa[详细]
2023-04-07 16:41 分类:问答NHibernate map to inconsistent Data
I am using NHibernate to map a DataModel. Unfotunatley the DataBase contains some inconsistent data due to lack of keys/constraints. Currently I am stuck with an m:n mapping where some keys on the map[详细]
2023-04-07 16:17 分类:问答How concurrency implementation in Nhibernat 3.1
I have a project by nhibernate 3.1 . I need to concurrency implementation in project. I Add \"Version\" to hbm file :[详细]
2023-04-07 16:00 分类:问答My custom ForeignKeyConvention is resulting in two foreign keys being created instead of one
I am trying to create my own foreign key convention that will name the FK in \"FK_SourceTable_TargetTable\" format.[详细]
2023-04-07 15:35 分类:问答Fluent NHibernate one-to-many with intervening join table?
I\'m having trouble getting the Fluent Nhibernate Automapper to create what I want.I have two entities, with a one-to-many relationship between them.[详细]
2023-04-07 12:52 分类:问答No current session context set error in my Nhibernate Test project
I\'m getting the error: No CurrentSessionContext configured (set the property current_session_context_class).[详细]
2023-04-07 12:34 分类:问答How to pass a parameter in my method to return using a stateless session? minimize code duplication
I want to pass a parameter in my method call, if set (its a boolean), then return a Stateless session.[详细]
2023-04-07 11:29 分类:问答Sqlite with multiple NHibernate Session Factories
I have a problem in that I have switched my (working) multiple-database nhibernate solution to DI its session factory so that I can use SqlLite from within my integration test suite.[详细]
2023-04-07 11:27 分类:问答Improving algorithm and syntax for c# linq expression
I\'ve been doing a bit of linq in c# .net 3.5 and feel like I should be able to do the following a little neater.[详细]
2023-04-07 10:06 分类:问答What affect will upgrading from ASP.NET MVC2 to MVC3 have on NHibernate?
How do I upgrade ASP.NET MVC2 to MVC3 with minimal possible implications 开发者_运维问答to NHibernate?There\'s there should be no impact in terms of NHibernate if you properly separated concerns in yo[详细]
2023-04-07 09:36 分类:问答