I'm with the build 614, just executed the tests and got no error. So
I downloaded the 629 to see if it's ok and those methods doesn't
exists anymore, it consists if they are generic only in the
AddMappingsFromSource method, witch is not my case, everything
working.

  Ps- I use to download sources from the fluentnhibernate page and the
build 629 is missing the file CombinedAssemblyTypeSource.cs, I have to
get it from the github.

  Best regards and thanks for the attention,
  DM

On Feb 20, 4:13 pm, James Gregory <jagregory....@gmail.com> wrote:
> It shouldn't matter that your mappings are generic, I guess that's an
> oversight on our part. Do all the tests pass if you remove that check?
>
>
>
> On Sat, Feb 20, 2010 at 5:26 PM, Mira.D <mirapalh...@gmail.com> wrote:
> >  The functions IsClassMap, IsSubclassMap and IsFilterDefinition in
> > the PersistenceModel actually return false if type.IsGenericType, in
> > my model I have some default subclasses witch I map using
> > MySubClass<XXX>, MySubClass<YYY>, the mapping is just as follows:
>
> > internal class MySubClass<Obj> : SubclassMap<MyClass<Obj>>
> > {
> >        public MySubClass()
> >        {
> >            base.Not.LazyLoad();
> >            base.DiscriminatorValue(typeof(Obj).FullName);
> >            base.References<Obj>(x => x.Record);
> >        }
> > }
>
> >  I know it's not a very good OR logic, but needed to my project and
> > with the IsSubclassMap returning false for generic classes I can't get
> > it working, I just removed the IsGenericType condition and everything
> > seems to be fine so I'm thinking why shouldn't the mapping classes be
> > generic classes?
>
> >  Regards,
> >  Daniel Mirapalheta
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Fluent NHibernate" group.
> > To post to this group, send email to fluent-nhibern...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > fluent-nhibernate+unsubscr...@googlegroups.com<fluent-nhibernate%2Bunsubscr 
> > i...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/fluent-nhibernate?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to