I\'m attempting to map a database field (\"LS_RECNUM\") possible values of NULL, \'M\' and \'F\' to a property with a Gender enumeration type.
I have a database with a field \'LS_GENDER\' which stores genders as \'M\' or \'F\'. My application uses an enumeration called Gender to work with genders.
I try to configure NHibernate in F# project by FluentNHibernate. static member GetNHibernateConfig =
My model looks something like this: p开发者_开发知识库ublic class Product { public string Name {get; set;}
I have the following HasMany convention: instance.Key.Column( instance.EntityType.Name + \"Fk\" ); instance.Inverse();
well this is my very very first project with fluent hibernate.i\'ve had small experience in hibernate and nhibernate.
A while ba开发者_如何学运维ck I had a problem running an app using NHibernate on the production box. The answer (thanks to stackoverflow - questions/1469408/) was to change to full trust.
and here is the inner exception at the end : Could not load file or assembly \'ByteCode.Castle\' or one of its dependencies. The system cannot find the file specified.
i am using the latest version of automapping and开发者_Python百科 FNH with vs2008, i got this exception
I have a User table and an Address table. They are connected by a join table. The mapping for that is straight forward, but I have some data on the join table that I would like to show up on the Addre