automapping
how do i automap an many-to-one relationship using fluent nhibernate
i have the following class: public class Worker { public int WorkerID {get;set;} public string Name { get;set;}[详细]
2023-01-19 00:48 分类:问答Fluent NHibernate + AutoMappings: Mystery Column in Generated SQL
I\'m getting a SQL query from NH, and it\'s generating a column that does not exist (thus producing an ADOException from NH).[详细]
2023-01-19 00:08 分类:问答persiste the deletion operation from a collection in NHibernate
When i delete some object (or remove it) from a collection (such as list) and call SaveOrUpdate from the parent of this collection the row of the child isn\'t removed but updated by setting the foreig[详细]
2023-01-18 18:25 分类:问答Mapping abstract base classes using Fluent NHibernate Automapper
I\'m using Fluent NHibernate\'s automapper to map the following domain model (via AutoMap开发者_如何学Python.AssemblyOf<Ticket>()), but it\'s throwing an exception when creating a SessionFactory[详细]
2023-01-16 13:09 分类:问答How do I automap a component collection in Fluent NHibernate?
I have a TrackLog that contains a collection of GPS points as a TrackPoint object: public class TrackPoint[详细]
2023-01-15 19:37 分类:问答Mapping person and employee in Fluent NHibernate
How can I map following queries using Fluent NHibernate (entity, mapping class etc..),开发者_如何学JAVAthe employee ids are stored in identifier tables. Person table contains employee information and[详细]
2023-01-15 04:04 分类:问答fluent-nhibernate automapping foreign key inserts null.
I have a class called Worker public class Worker : BaseEntity { public virtual int WorkerID { get; set; }[详细]
2023-01-15 00:09 分类:问答Fluent NHibernate and automapping generic types
I\'m automapping most of my model, but have a problem with generics. I\'ve got ValueContainer<TValue>, and I make it abstract so that it[详细]
2023-01-13 21:37 分类:问答mapping classes nested within another class using fluent nhibernate automapping
How to map a class that has another class nested inside it. I am using automapping. It gives exception \'NHibernate.MappingException: Association references unmapped class: class1+class2\'[详细]
2023-01-13 00:06 分类:问答how to tell flunet-nhibernate to use the ID from a base class (which is abstract and ignored in the mapping)
i have an abstract class public abstract class Document { public int DocumentID {get; set;} } and derived class[详细]
2023-01-11 07:16 分类:问答