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