private void AddDiscoveryConventions()
{
foreach (var foundType in from type in typeof(PersistenceModel).Assembly.GetTypes()
where type.Namespace == typeof(ClassDiscoveryConvention).Namespace && !type.IsAbstract
select type)
{
ConventionFinder.Add(foundType);
}
}