PooledDbContextFactory<TContext>
PooledDbContextFactory(IDbContextPool<TContext>)
PooledDbContextFactory(DbContextOptions<TContext>, Int32)
CreateDbContext()
CreateDbContextAsync(CancellationToken)
net11.0
namespace Microsoft.EntityFrameworkCore.Infrastructure
{
public class PooledDbContextFactory<TContext> : IDbContextFactory<TContext!>
where TContext, DbContext!
{
[AsyncStateMachine(typeof(<CreateDbContextAsync>d__4))]
public virtual Task<TContext!>! CreateDbContextAsync(CancellationToken cancellationToken = default);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 10.011.0 |
Information specific to net11.0 | |
| Assemblies | Microsoft.EntityFrameworkCore , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore (11.0.0-preview.2.26159.112) net11.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API