last ...
This commit is contained in:
@@ -34,8 +34,8 @@ namespace xServices.Databases
|
||||
IXTestRepository,
|
||||
XTestEFRepository,
|
||||
XApiDbContext,
|
||||
IXTestDbSeeder,
|
||||
XTestDbSeeder
|
||||
IXTestSeeder,
|
||||
XTestSeeder
|
||||
>
|
||||
{}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using xDataService.Configuration;
|
||||
using xDataService.Db;
|
||||
using xDataService.Providers;
|
||||
using xServices.Models.Entities;
|
||||
using xStringService.Providers;
|
||||
// using xStringService.Models.Entities;
|
||||
|
||||
namespace xServices.Databases
|
||||
{
|
||||
@@ -18,8 +21,16 @@ namespace xServices.Databases
|
||||
|
||||
public XApiDbContext(
|
||||
DbContextOptions options,
|
||||
XDataServiceConfiguration config
|
||||
) : base(options, config) { }
|
||||
XDataServiceConfiguration config,
|
||||
XEntityRegisterarHandlerService dynamicEntityHandlers
|
||||
) : base(
|
||||
"xApiDb",
|
||||
options,
|
||||
config,
|
||||
dynamicEntityHandlers,
|
||||
new string[] { nameof(XStringEntityRegisterar) }
|
||||
)
|
||||
{ }
|
||||
|
||||
//
|
||||
public override void OnXModelCreating(ModelBuilder modelBuilder)
|
||||
|
||||
Reference in New Issue
Block a user