Top "Nhibernate" questions

NHibernate is an open source object-relational mapper (ORM) for the .NET framework.

Eager Loading Using Fluent NHibernate/Nhibernate & Automapping

I have a requirement to load a complex object called Node...well its not that complex...it looks like follows:…

nhibernate fluent-nhibernate eager-loading automapping
Best way to save a ordered List to the Database while keeping the ordering

I was wondering if anyone has a good solution to a problem I've encountered numerous times during the last years. …

c# database nhibernate sql-order-by
NHIbernate OR Criteria Query

I have the following mapped classes Trade { ID, AccountFrom, AccountTo } Account {ID, Company} Company {ID} Now I cannot figure out …

c# nhibernate criteria
101 tutorial for setting up nhibernate?

I am looking for a tutorial on setting up nhibernate. There seems to be few out there, but most are …

nhibernate fluent-interface
Fetch vs FetchMany in NHibernate Linq provider

NHibernate eager loading can be done using Fetch and FetchMany, as described in NHibernate Linq Eager Fetching on Mike Hadlow's …

linq nhibernate fetch eager-loading
Fluent NHibernate: How to create one-to-many bidirectional mapping?

Basic question: How to I create a bidirectional one-to-many map in Fluent NHibernate? Details: I have a parent object with …

nhibernate fluent-nhibernate nhibernate-mapping
How do you map an enum as an int value with fluent NHibernate?

Question says it all really, the default is for it to map as a string but I need it to …

nhibernate fluent-nhibernate
How to do a fluent nhibernate one to one mapping?

How do I do this I am trying to make a one to one mapping. public class Setting { public virtual …

c# nhibernate fluent-nhibernate
Need to speed up automapper...It takes 32 seconds to do 113 objects

Hi I have some major problems with auto mapper and it being slow. I am not sure how to speed …

c# performance nhibernate asp.net-mvc-3 automapper
How to map a VARCHAR(MAX) column in NHibernate hbm.xml mapping files

We have a SQL Server table with varchar and nvarchar max columns like this: CREATE TABLE [dbo].[MyTable]( : [MyBigUnicodeColumn] [nvarchar](…

nhibernate nhibernate-mapping