I do this with the configuration: fluentConfig.Mappings(m => m.FluentMappings.AddFromAssembly (Assembly.Load(MappingsAssembly)).Conventions.Add(LazyLoad.Never())); But I did that because I missed DefaultLazy... When I use DefaultLazy.Never() it works...
So this time it was my fault :) On Aug 18, 9:31 am, James Gregory <[email protected]> wrote: > What have you set this convention on? > Conventions do apply to SubclassMaps. > > On Tue, Aug 18, 2009 at 8:04 AM, David Perfors <[email protected]> wrote: > > > Hi, > > it looks like SubclassMaps do not follow conventions... I have added a > > Lazyload.Never() convention, but NHibernate is telling me that I > > should make my properties virtual... > > > any idea? > > > David > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
