I have a object with a Nhibernate mapping that has a surrogate ID and a natual ID.Since of cource the natural ID is uniquely constrained a insert query will fail if the object is already in the databa
I\'ve been using serialized nhibernate configuration objects (also discussed here and here) to speed up my application startup from about 8s to 1s. I also use fluent-nhibernate, so the path is more li
http://www.codinginstinct.com/2010/03/nhibernate-tip-use-set-for-many-to-many.html I want to do the way the author suggested for fluent nhibernate many-to-many but use automapping instead of HBM file
I want to map sth like this using fluent Nhibernate but I am not sure how to map the inventory table This is the tables I have :
I\'m getting a the following exception: \"Timeout Expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled conections were in use
I\'m creating a domain model where entities often (but not always) have a member of type ActionLog. ActionLog is a simple class which allows for an audit trail of actions being performed on an insta
Kinda stuck here... I have an application with lets say 5000 rows of data per user and was w开发者_如何学JAVAondering if it was right or wrong to do it this way:
I am having a problem with duplicate blog post coming back when i run the linq statement below. The issue that a blog post can have the same tag more then once and that\'s causing the problem.I know
So, I\'m having a problem mapping in fluent nhibernate. I want to use a join mapping to flatten an intermediate table: Here\'s my structure:
I had a mapping for a IDictionary<StocksLocation,decimal> property, this was the mapping: HasMany<StocksLocation>(mq => mq.StocksLocation)