Showing related tags and posts across the entire site.
-
Ciao a tutti, ho la seguente gerarchia di classi da mappare con NHibernate abstract class Item { ... } class Foo : Item { Widget Widget { ... } } class Bar : Item { ICollection<Widget> WidgetSet { ... } class Widget { Item Item { ... } } in cui la gerarchia Item, Foo/Bar è mappata con la...
-
Ciao a tutti, ho una situazione del genere: class Item { ... } class Foo { ICollection<Item> ItemSet { ... } } class Bar { ICollection<Item> ItemSet { ... } } dunque, c'è una relazione uno-a-molti nel senso che un Foo/Bar ha diversi Item, tuttavia nella tabella che mappa Item non...