This commit is contained in:
2020-01-28 18:49:15 +00:00
parent 6a682a6475
commit a94260b300
14 changed files with 84 additions and 261 deletions

View File

@@ -138,7 +138,7 @@ namespace AyaNova.Util
//Seed special test data for integration testing
//log.LogInformation("Seeding known users");
await SeedKnownUsersAsync(log, timeZoneOffset);
await SeedKnownUsersAsync(log, timeZoneOffset);
//log.LogInformation("Seeding all other data");
switch (slevel)
@@ -163,7 +163,7 @@ namespace AyaNova.Util
//100 widgets
watch = new Stopwatch();
watch.Start();
watch.Start();
await GenSeedWidgetAsync(log, 100);
//PERF
watch.Stop();
@@ -605,8 +605,8 @@ namespace AyaNova.Util
o.CustomFields = $@"{{c1:""{c1}"",c2:""{c2}"",c3:{c3},c4:{c4},c5:{c5}}}";
WidgetBiz biz = WidgetBiz.GetBizInternal(ServiceProviderProvider.DBContext);
WidgetBiz biz = WidgetBiz.GetBiz(ServiceProviderProvider.DBContext);
var NewObject = await biz.CreateAsync(o);
if (NewObject == null)
{