Commits

Douglas Aguiar committed dc7cb76 Merge

merge

  • Participants
  • Parent commits 6f83e2e, 0e101c2

Comments (0)

Files changed (1)

File LiteFx.NHibernate/ConfigurationManager.cs

 							configuration = new Configuration();
 							configuration.LinqToHqlGeneratorsRegistry<ExtendedLinqtoHqlGeneratorsRegistry>();
 
-							if (CustomConfiguration != null)
-								CustomConfiguration(configuration);
+							if (PreCustomConfiguration != null)
+								PreCustomConfiguration(configuration);
 
 							configuration = Fluently.Configure(configuration)
 									.Mappings(m =>
 										m.HbmMappings
 											.AddFromAssembly(AssemblyToConfigure);
 									}).BuildConfiguration();
+
+							if (PosCustomConfiguration != null)
+								PosCustomConfiguration(configuration);
 						}
 
 					}
 
 		public delegate void CustomConfigurationDelegate(Configuration configuration);
 
-		public static CustomConfigurationDelegate CustomConfiguration { get; set; }
+		public static CustomConfigurationDelegate PreCustomConfiguration { get; set; }
+
+		public static CustomConfigurationDelegate PosCustomConfiguration { get; set; }
 
 	}
 }