Hi,
We have a multi-tiered application using CSLA Business Objects and NHibernate ORM.
In our Business Objects, we hold our collection data members as ICollection<T>
, and in our object mapping files we define them as <set>
s.
Since NHibernate uses its own concrete types to fetch these collections, we have a problem when these collections reach the client, because we don't reference the NHibernate assembly in the client application (and we don't want to change that).
Is there a way to solve that or somehow force NHibernate to use a .net collection type, or our own collection type, without implementing any NHibernate collection type interface?
Thanks in Advance,
Yaron.