add support for Dynamic Entity Registration in DbContext by Provides IXEntityRegisterar interface and XBaseEntityRegisterar as an abstract Implementation ...
all other requirements handled inside Module.
This commit is contained in:
@@ -12,6 +12,7 @@ using xDataService.Constants;
|
||||
using xDataService.Extensions;
|
||||
using xDataService.Helpers;
|
||||
using xDataService.Models;
|
||||
using xDataService.Providers;
|
||||
using xExceptions.Constants;
|
||||
|
||||
namespace xDataService.DI
|
||||
@@ -189,6 +190,10 @@ namespace xDataService.DI
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// Register Handler Service ...
|
||||
source.AddSingleton<XEntityRegisterarHandlerService>();
|
||||
|
||||
//
|
||||
// Configure Database Descriptor ...
|
||||
descriptor.Configure(source);
|
||||
|
||||
Reference in New Issue
Block a user