diff --git a/src/Orchard.4.5.resharper b/src/Orchard.4.5.resharper index 14afa9b4b..863e0ddee 100644 --- a/src/Orchard.4.5.resharper +++ b/src/Orchard.4.5.resharper @@ -84,6 +84,7 @@ + \ No newline at end of file diff --git a/src/Orchard/Data/HackSessionLocator.cs b/src/Orchard/Data/HackSessionLocator.cs index 2a3e1aebc..926235e40 100644 --- a/src/Orchard/Data/HackSessionLocator.cs +++ b/src/Orchard/Data/HackSessionLocator.cs @@ -44,10 +44,10 @@ namespace Orchard.Data { } - private static ISessionFactory BuildSessionFactory(IPersistenceConfigurer database, IEnumerable recordTypes) { + private static ISessionFactory BuildSessionFactory(IPersistenceConfigurer database, IEnumerable recordDescriptors) { return Fluently.Configure() .Database(database) - .Mappings(m => m.AutoMappings.Add(CreatePersistenceModel(recordTypes))) + .Mappings(m => m.AutoMappings.Add(CreatePersistenceModel(recordDescriptors))) .ExposeConfiguration(c => new SchemaUpdate(c).Execute(false /*script*/, true /*doUpdate*/)) .BuildSessionFactory(); }