Leaf Input and Submit
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.ModelConfiguration.Conventions;
|
||||
using System.Data.Entity.SqlServer;
|
||||
using log4net;
|
||||
using LeafWeb.Core.Entities;
|
||||
using NLog;
|
||||
|
||||
namespace LeafWeb.Core.DAL
|
||||
{
|
||||
@@ -22,7 +22,7 @@ namespace LeafWeb.Core.DAL
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
LogManager.GetCurrentClassLogger().Debug("OnModelCreating");
|
||||
LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType).Debug("OnModelCreating");
|
||||
|
||||
modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
Reference in New Issue
Block a user