When using auto mappings in Fluent NHibernate, you have the ability to do something like:
_configuration =
Fluently.Configure().
Database(
MsSqlConfiguration.MsSql2000.ConnectionString(
@"some connection string")
)
.Mappings(
m => m.AutoMappings.Add(AutoMap.AssemblyOf<GSAContract>().Where(x=>x.Namespace == "SomeNamespace")))
.BuildConfiguration();
I'm looking to be able to do something similar with FluentMappings, but I can't seem to figure out a similar behavior (filtering on Namespace).