views:

222

answers:

0

I have a DomainObject with a property

List<DomainObject> Connections{get;set;}

So each object can be "connected" with others and I have to save this information in db to restore the entire graph on demand.

Now I have a string property with the CSV of all Ids of DomainObject inside the Connections property but i'm not happy...

There's a chance to map this model with native NHibernate mapping?

Probably i need another table containing a pair of Source-Destination but I hope it will be bidirectional.