am new to NHibernate.When performing below test took 11.2 seconds (debug mode) i am seeing this large startup time in all my tests (basically creating the first session takes a ton of time)
I have a fairly simple class that I want to save to SQL Server via NHibernate (w/ Fluent mappings).The class is made up mostly of optional string fields.
In my quest for a version-wide database filter for an application, I have written the following code:
Could some one help, how would I instruct automap to have not-null for a column? public class Paper : Entity
I have a qouestion regarding the AutoMap xml generation. I have two classes: public class User { virtual public Guid Id { get; private set; }
In .hbm.xml the mapping I am after would look as follows - any idea how I can reproduce this in Fluent NHibernate...?
I\'m trying to take my fluent mapping past the basic stuff that I\'ve found here: http://wiki.fluentnhibernate.org/Fluent_configuration
Is it possible to use something like this wrapper with fluent configuration? http://jeffreypalermo.com/blog/use-this-nhibernate-wrapper-to-keep-your-repository-classes-simple/
I have an existing database schema and wish to replace the custom data access code with Fluent.NHibernate. The database schema cannot be changed since it already exists in a shipping product. And it i
I think I am at a impasse here. I have an application I built from scratch using FluentNHibernate (ORM) / SQLite (file db). I have decided to implement the Unit of Work and Repository Design pattern.