RGDataContextAddDbContextPoolTypeTContextService, TContextImplementation Method
Adds the type of the database context pool.
Namespace: Recrovit.RecroGridFramework.DataAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.1.0.24.0419.1
public static void AddDbContextPoolType<TContextService, TContextImplementation>()
where TContextService : class
where TContextImplementation : DbContext, TContextService
Type Parameters
- TContextService
- The class or interface that will be used to resolve the context from the container.
- TContextImplementation
- The concrete implementation type to create.