Thank you very, very much :-))
I have tried something like:
model.ConventionFinder.Add()
public class LazyLoadConvention : IClassConvention
{
public bool Accept(FluentNHibernate.Mapping.IClassMap target)
{
return true;
}
public void Apply(FluentN
I replied before you put your second message in.
The fluent configuration can take an already constructed Configuration
instance, if that'd make it easier.
If you still want to use the PersistenceModel there's a ConventionFinder
property which you can treat the same as the ConventionDiscovery prop
The wiki is full of information on the new conventions:
http://wiki.fluentnhibernate.org/show/Conventions
Best approach is to not use the PersistenceModel directly like you are, use
the Fluent Configuration.
http://wiki.fluentnhibernate.org/show/FluentConfiguration
On Thu, Mar 19, 2009 at 4:16 PM,