This group is for discussions about the development of NHibernate, not its
usage.  Please repost your question on the NHUSERS google group
https://groups.google.com/forum/#!forum/nhusers

Steve Bohlen
[email protected]
http://blog.unhandled-exceptions.com
http://twitter.com/sbohlen


On Mon, Aug 1, 2011 at 10:26 PM, keni <[email protected]> wrote:

> Hello,
>
> 1.   I have implemented a custom collection type like:
>
>    public class MyUserCollectionType<T> : IUserCollectionType
>    {
>      ............
>    }
>
>    and in the configuration file , I config the options like bellow,
> but it always tip me can't find      the "MyUserCollectionType" which
> implement the IUserCollectionType .
>
>   <set name="Actors" cascade="all-delete-orphan" collection-
> type="MyUserCollectionType" generic="true">
>
> 2.    if I remove the generic type "T" as bellow:
>
>    public class MyUserCollectionType : IUserCollectionType
>    {
>      ............
>    }
>
>  and in the configuration file , I config the options like bellow, it
> woks fine.
>
>  <set name="Actors" cascade="all-delete-orphan" collection-
> type="MyUserCollectionType" >
>
>
>
> for the generic case ,how can I configure the "collection-type"
> option?
>
> thanks!
>
>

Reply via email to