automapping
Fluent NHibernate Mapping Non Required Object using Automapping
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[详细]
2023-02-02 05:33 分类:问答C# - Nhibernate question
I am particularly confused by the following test case: public void TestMapping() { var autoPersistenceModel = AutoMap.AssemblyOf<RepositoryEntity>().Where([详细]
2023-02-01 06:19 分类:问答SaveOrUpdate() on auto-mapped parent sets all child foreign keys to NULL
I am using Fluent NHibernate and NHibernate.Core 3 beta 1. I have two classes: public class Promotion {[详细]
2023-01-30 03:59 分类:问答One-to-one mapping in S#arp Architecture
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.[详细]
2023-01-28 21:57 分类:问答NHibernate Has Many Relationship with Grandchild Table Containing Multiple Many-to-One References
there are three existing tables defined like the following: create table business_units (id number(10,0) not null, ... , primary key (id))[详细]
2023-01-28 13:53 分类:问答Exception in Automapping and FNH in BuildSessionFactory Line
i am using the latest version of automapping and开发者_Python百科 FNH with vs2008, i got this exception[详细]
2023-01-25 04:50 分类:问答Fluent NHibernate: How do you change the underlying sql type for an automapped collection of strings?
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[详细]
2023-01-24 17:29 分类:问答Fluent NHibernate cascading delete convention for aggregate roots
Question is: how to write convention that prevents deleting entity reference if it inherits from type Root?[详细]
2023-01-23 17:19 分类:问答Fluent NHibernate - automapping: allow null for single properties
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.[详细]
2023-01-23 06:41 分类:问答Possible to Define Filter in Fluent NHibernate FluentMappings?
When using auto mappings in Fluent NHibernate, you have the ability to do something like: _configuration =[详细]
2023-01-20 01:23 分类:问答