AddDataProvider<TDataProviderInterface, TDataProvider, TDbContext>
(IServiceCollection,IConfiguration) Method
AddDataProvider<TDataProviderInterface, TDataProvider, TDbContext> (IServiceCollection services, IConfiguration configuration)
Add the specified data provider and DbContext to the services collection.
Type Parameters
TDataProviderInterface |
Interface used by modules to access the data provider. This type is used as a key to the dependency injection service collection.
|
TDataProvider |
.
|
TDbContext |
Entity framework DbContext class.
|