diff --git a/Src/SharpArch.Infrastructure/SharpArch.Infrastructure.csproj b/Src/SharpArch.Infrastructure/SharpArch.Infrastructure.csproj index fac7392f..d83e240c 100644 --- a/Src/SharpArch.Infrastructure/SharpArch.Infrastructure.csproj +++ b/Src/SharpArch.Infrastructure/SharpArch.Infrastructure.csproj @@ -32,9 +32,5 @@ - - - - diff --git a/Src/SharpArch.NHibernate/NHibernateSessionFactoryBuilder.cs b/Src/SharpArch.NHibernate/NHibernateSessionFactoryBuilder.cs index 72ccedab..da4ae0ad 100644 --- a/Src/SharpArch.NHibernate/NHibernateSessionFactoryBuilder.cs +++ b/Src/SharpArch.NHibernate/NHibernateSessionFactoryBuilder.cs @@ -31,10 +31,9 @@ public class NHibernateSessionFactoryBuilder /// /// Default NHibernate session factory key. /// - public static readonly string DefaultConfigurationName = "nhibernate.current_session"; + [NotNull] public static readonly string DefaultConfigurationName = "nhibernate.current_session"; readonly List _mappingAssemblies; - List _additionalDependencies; AutoPersistenceModel _autoPersistenceModel; string _configFile; @@ -67,16 +66,6 @@ public ISessionFactory BuildSessionFactory() /// /// Builds NHibernate configuration. /// - /// - /// - /// Any changes made to configuration object after this point will not be persisted in configuration cache. - /// This can be useful to make dynamic changes to configuration or in case changes cannot be serialized - /// (e.g. event listeners are not marked with . - /// - /// - /// To make persistent changes use . - /// - /// /// No dependencies were specified [NotNull] public Configuration BuildConfiguration()