How do we express this in FNH? <class name=\"Order\" .... > .... <set name=\"PurchasedItems\" table=\"purchase_items\" lazy=\"true\">
I have an interesting issue today!! Basically I have two classes. public class A : B { public virtual new ISet<DifferentItem> Items {get;set;}
I\'m trying to do a join like this using fluent nhibernate: Id(x => x.Id); Map(x => x.SourceSystemRecordId,\"sourceSystemRecord_id\");
I\'ve been sitting here for an hour trying to figure this out... I\'ve got 2 tables (abbreviated): CREATE TABLE TRUST
We\'re using FluentNHibernate and we have run into a problem where our object model requires data from two tables like so:
When saving my many-to-many related entities, the entities are saved ok. However the junction table stays empty:
HI, I have the following entities I\'m trying to map: public class Product { public int ProductId { get; private set; }
I am retrofitting a very large application to use NHibernate as it\'s data access strategy. Everything is going well with AutoMapping. Luckily when the domain layer was built, we used a code generator
How can i create a 3 table schema from the following model classes. public class Product { public int Id {get; set;}
I have a component which contains a collection.I can\'t seem to get NHibernate to persist items in the collection if I have the collection marked as Inverse.They will persist if I don\'t have Inverse