I have a composite object set up Project->Appraisal, My appraisal object has a ApprovedMentor object which is not required but when i go to save project Nhib throws and error to say that ApprovedUser
I am particularly confused by the following test case: public void TestMapping() { var autoPersistenceModel = AutoMap.AssemblyOf<RepositoryEntity>().Where(
I am using Fluent NHibernate and NHibernate.Core 3 beta 1. I have two classes: public class Promotion {
There\'s a distinct smell of burned out circuits coming from my head, so forgive my ignorance. I\'m trying to setup a one-to-one relationship (well, let Automapper do it) in S#arp Architecture.
there are three existing tables defined like the following: create table business_units (id number(10,0) not null, ... , primary key (id))
i am using the latest version of automapping and开发者_Python百科 FNH with vs2008, i got this exception
I have a class: public class ParentClass { //other stuff IList<string> ChildPages } When \'IList<string> ChildPages\' gets automapped by Fluent NHibernate a \'ChildPages\' join table is
Question is: how to write convention that prevents deleting entity reference if it inherits from type Root?
I know this question has been raised in similar form multiple times, but none of the threads could give me the concrete answer to my question.
When using auto mappings in Fluent NHibernate, you have the ability to do something like: _configuration =