Hi,

I wonder if there is any way to switch the default way that FNH runs
automappings.
Currently we use code similar to this:

foreach (BaseLibrary library in this.GetAllServerLibraries())
{
    //mappings.UseOverridesFromAssembly(library.GetAssembly());
    new
AutoMappingOverrideAlteration(library.GetAssembly()).Alter(mappings);
}

we would like to switch the mechanism. Instead of relying on FNH on
scanning assemblies we would like to give it all automapping classes
that we want and just run them without any scanning for others.
We feel like we want more control over which maps should be included
while starting our application server. We have a multi-layer app that
could have many different forms in the future, so we need the
flexibility at runtime when our server starts.

Is there any way to do this? I was searching for this here, on mailing
list and SO but without any success.
thanks.

Łukasz Podolak

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@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