Piscal Queue working more resilient to error
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Data.Entity.ModelConfiguration.Conventions;
|
||||
using System.Data.Entity.SqlServer;
|
||||
using LeafWeb.Core.Entities;
|
||||
using NLog;
|
||||
|
||||
namespace LeafWeb.Core.DAL
|
||||
{
|
||||
@@ -16,6 +17,8 @@ namespace LeafWeb.Core.DAL
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
LogManager.GetCurrentClassLogger().Debug("OnModelCreating");
|
||||
|
||||
modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
|
||||
base.OnModelCreating(modelBuilder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user