nhibernate
Loading multi-level collections without duplicates in NHibernate
My question is very similar to this one (that wasn\'t really answered): Nhibernate: distinct results in second level Collection[详细]
2023-04-09 10:18 分类:问答When to use Nhibernate <version>?
I was looking at ayende blog http://ayende.com/blog/3946/nhibernate-mapping-concurrency about NHibernate concurrency and i still not very clear when to use. It seems like it is a solution to开发者_如何[详细]
2023-04-09 09:09 分类:问答Recommendations for optimizing NHibernate with Large Amounts of Data
I have a rath开发者_开发问答er complex mapping for some of my class objects for NHibernate.I have everything mapping correctly; however, it is taking approximately 10-15 minutes to save the items and[详细]
2023-04-09 08:16 分类:问答Fluent NHibernate - always drop table
Hi I start learn Fluent NHibernate. I am using this tutorial http://www.d80.co.uk/post/2011/02/20/Linq-to-NHibernate-Tutorial.aspx.[详细]
2023-04-09 04:55 分类:问答"PropertyAccessException: Invalid Cast" when trying to retrieve an enum property stored as an AnsiString
I need to store my enums in the database as varchar instead of nvarchar, so I am using the \"AnsiString\" mapping as follows:[详细]
2023-04-09 02:46 分类:问答NHibernate mapping many-to-many lists not loading the objects right
I am attempting a many-to-many list in one of my objects. I have three classes which I am attempting to save and load via NHibernate: Intersection, Vehicle and Zone.Intersection and Vehicle are both[详细]
2023-04-09 02:38 分类:问答Optional parameter with setParameterList in HQL
I have a query with optional parameter \"SELECT ClinicId,Name from Clinic where :ClinicIds is NULL OR ClinicId IN :ClinicIds\"[详细]
2023-04-09 01:13 分类:问答How to project a list with QUeryOver in NHibernate
I am a little mystified(or stupid more likely) when it comes to QueryOver in NHibernate. I am trying something like this:[详细]
2023-04-09 00:50 分类:问答How to map existing tables into a inheritance hierarchy in NHibernate?
The problem is trying to map inheritance given an existing table structure.The table is also used by legacy apps using raw sql, ie, the table can\'t delete any existing schema details, but can add mor[详细]
2023-04-08 22:41 分类:问答Why does NHibernate say my filter isn't configured?
I\'m trying to use a global filter in NHibernate, and as far as I can tell I\'m doing exactly what all the tutorials do, but I\'m getting an exception.[详细]
2023-04-08 19:02 分类:问答