Custom collection type.

2009/8/11 joniba <[email protected]>

>
> Hi all,
>
> I have a parent entity that contains a collection of child entities. I
> have a custom lazy-loading implementation, because we work detached (a
> session is created for every operation). This lazy-loading
> implementation doesn't support loading collections as interfaces (due
> to some weird c# language limitation). So I'd like to know if there's
> any way to tell NHibernate NOT to load a collection? Because defining
> lazy=true for this collection still throws an error because it's still
> trying to cast an empty collection to a non-interface type.
>
> I still want this collection to be mapped, for inserts updates and
> deletes.
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to