I have
            var cfg =
                Fluently.Configure(config).Mappings(
                    x =>
 
x.FluentMappings.AddFromAssemblyOf<MainView>().Conventions.Add(
 
DefaultLazy.Never(),
 
DynamicInsert.AlwaysTrue(),
 
DynamicUpdate.AlwaysTrue(),
 
DefaultCascade.All())
                                                   ).BuildConfiguration();
As my configuration.  One of my fluent configurations is
            //References(x =>
x.Bag).Not.LazyLoad().Not.Nullable().Class<Bag>();
            //References(x =>
x.Mandrel).Not.LazyLoad().Not.Nullable().Class<Mandrel>();
            //References(x =>
x.PowderBatch).Not.LazyLoad().Not.Nullable().Class<PowderBatch>();
            References(x => x.Bag).Not.Nullable().Class<Bag>();
            References(x =>
x.Mandrel).Not.Nullable().Class<Mandrel>();
            References(x =>
x.PowderBatch).Not.Nullable().Class<PowderBatch>();
Now if i comment out the bottom 3 and uncomment the top 3, I get the
three selects i'm looking for.  I'm wondering why the
DefaultLazy.Never convention doesn't do the same thing for me.  Is it
broken?  Or am i making an incorrect assumption?  Thanks!

-- 
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