Let's say I've got some fluently configured NHibernate settings, which is using both Fluent mappings and Automappings.
Configuration = Fluently.Configure()
.Database(SQLiteConfiguration.Standard.ShowSql().InMemory)
.Mappings(x =>
{
x.FluentMappings.AddFromAssemblyOf<RepositoryEntity>();
x.AutoMappings.Add(autoPersistenceModel);
});
Now - is it possible to check that some arbitrary type T is mapped (or not mapped) to this configuration?
I am attempting to make some bulletproof repository and I think this moment is kind of crucial.
Thank you