nhibernate
NHibernate on DB2 session.get() throws System.IndexOutOfRangeException
I\'m following the NHibernate getting started tutorial: \"Your first NHibernate based application\".I\'m at the point where I create a Product object then use Session.get() to prove I can read the obj[详细]
2023-04-08 18:21 分类:问答Difference between lazy loading in NHibernate and Entity Framework
While playing around with the Entity Framework and NHibernate using POCO entities, I made the following observation which I find a bit unusual:[详细]
2023-04-08 17:12 分类:问答Why does concurrent GC sometimes cause ExecutionEngineException (per MSDN)?
According to MSDN, there is a \"tip\" stating that a .NET applicatio开发者_如何学编程n running under heavy load with concurrent garbage collection (either <gcConcurrent enabled=\"true\"/> or uns[详细]
2023-04-08 12:38 分类:问答Fluent nHibernate required files and linux
I\'ve downloaded the fluent hibernate 1.2 zip file from the website. It contains various files, amongst them[详细]
2023-04-08 10:53 分类:问答from domain model to transaction script
The new place I started at is just starting to develop a completely new product from scratch. They are going transaction script in application services, completely dumb entities, and a hand rolled DAL[详细]
2023-04-08 09:34 分类:问答Is there a way to override a collection's mapped order-by clause when paging in NHibernate?
I have an entity with a bag collection and I want to page through the entire data set. The collection has an order-by clause. When I try to eager-load the collection, NHibernate is generating SQL that[详细]
2023-04-08 07:07 分类:问答Changing the Nhibernate entity to point to new table
I am using FLH and recently I changed the name of the table. I dont want to propagate the changes all the way across my layers. Is there a way, where I can retain the same entity name and just change[详细]
2023-04-08 06:20 分类:问答One to many mapping. NHibernate
I was looking at \'NHibernate 3 Beginner\'s Guide\' book and found interesting tip: 开发者_JAVA百科 In a real life inventory application, you will probably want to avoid[详细]
2023-04-08 05:13 分类:问答Proper Guid Mapping. Nhibernate
I use an abstract Entity class which contains a Guid: public abstract class Entity { public /*virtual*/ Guid Id { get; set; }[详细]
2023-04-08 05:02 分类:问答QueryOver and ProjectionLists
We are trying to use QueryOver and projects. Basically it works fine. But we are currently struggling with a projection which should contain multiple items. The problem is that we have pallets which c[详细]
2023-04-07 20:04 分类:问答