EntityFrameworkServiceCollectionExtensions
AddDbContext<TContext>(IServiceCollection, ServiceLifetime, ServiceLifetime)
AddDbContext<TContext>(IServiceCollection, Action<DbContextOptionsBuilder>, ServiceLifetime, ServiceLifetime)
AddDbContext<TContext>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, ServiceLifetime, ServiceLifetime)
AddDbContext<TContextService, TContextImplementation>(IServiceCollection, ServiceLifetime, ServiceLifetime)
AddDbContext<TContextService, TContextImplementation>(IServiceCollection, Action<DbContextOptionsBuilder>, ServiceLifetime, ServiceLifetime)
AddDbContext<TContextService, TContextImplementation>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, ServiceLifetime, ServiceLifetime)
AddDbContextFactory<TContext>(IServiceCollection, Action<DbContextOptionsBuilder>, ServiceLifetime)
AddDbContextFactory<TContext>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, ServiceLifetime)
AddDbContextFactory<TContext, TFactory>(IServiceCollection, Action<DbContextOptionsBuilder>, ServiceLifetime)
AddDbContextFactory<TContext, TFactory>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, ServiceLifetime)
AddDbContextPool<TContext>(IServiceCollection, Action<DbContextOptionsBuilder>, Int32)
AddDbContextPool<TContext>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, Int32)
AddDbContextPool<TContextService, TContextImplementation>(IServiceCollection, Action<DbContextOptionsBuilder>, Int32)
AddDbContextPool<TContextService, TContextImplementation>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, Int32)
AddPooledDbContextFactory<TContext>(IServiceCollection, Int32)
AddPooledDbContextFactory<TContext>(IServiceCollection, Action<DbContextOptionsBuilder>, Int32)
AddPooledDbContextFactory<TContext>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, Int32)
ConfigureDbContext<TContext>(IServiceCollection, Action<DbContextOptionsBuilder>, ServiceLifetime)
ConfigureDbContext<TContext>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder>, ServiceLifetime)
RemoveDbContext<TContext>(IServiceCollection, Boolean)
net11.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class EntityFrameworkServiceCollectionExtensions
{
public static IServiceCollection! AddPooledDbContextFactory<TContext>(this IServiceCollection! serviceCollection, int poolSize = 1024)
where TContext, DbContext!;
}
}
| .NET | 11.0 |
|---|---|
Information specific to net11.0 | |
| Assembly | Microsoft.EntityFrameworkCore , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore (11.0.0-preview.3.26207.106) net11.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API