RGDataContextAddDbContextPoolTypeTContextService, TContextImplementation Method
Adds the type of the database context pool.
Namespace: Recrovit.RecroGridFramework.DataAssembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 6.1.0.23.1204.1+9d8b98a22c49d038b4e3323bfe56aa1d0eabe7ae
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.