NHibernate IUserCollectionType

NHibernate IUserCollectionType

Old forum URL: forums.lhotka.net/forums/t/5874.aspx


Kevin Fairclough posted on Tuesday, November 25, 2008

Hi,

Has anyone (who is or has used NHibernate) ever mapped the BusinessListBase directly to NHibernate using the IUserCollectionType interface supplied by NHibernate. Allowing NHibernate to recognise CSLA collections would be better than having to move the contents in and out of internal IList/ISet for every persistence cycle.

TIA
Kevin  

chachek replied on Tuesday, November 25, 2008

I thought about it, but could not get enough information/documentation from NHibernate to know what to do. I would be interested to hear from others.

Kevin Fairclough replied on Tuesday, December 09, 2008

Another way to do this would be to map it as a component as shown here.  This however requires access to a internal list.  Does CSLA have such an internal list? or can I get at it via .NET, what I need is an IList that I can map to.

TIA

Copyright (c) Marimer LLC