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);
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using log4net;
|
||||
using LeafWeb.Core.Entities;
|
||||
using LeafWeb.Core.Parsers;
|
||||
using LeafWeb.Core.Utility;
|
||||
using NLog;
|
||||
|
||||
namespace LeafWeb.Core.DAL
|
||||
{
|
||||
@@ -13,7 +13,7 @@ namespace LeafWeb.Core.DAL
|
||||
|
||||
protected override void Seed(LeafWebContext context)
|
||||
{
|
||||
LogManager.GetCurrentClassLogger().Debug("Seed");
|
||||
LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType).Debug("Seed");
|
||||
|
||||
// get fluxnet sites from file
|
||||
var fileInfo = FileUtility.GetContentFile(ContentDirectory, "fluxnet_site_list_all_October2015_with_joins_corrected.csv", true);
|
||||
|
||||
Reference in New Issue
Block a user