DbContextPool<TContext>
DefaultPoolSize
DbContextPool(DbContextOptions<TContext>, IServiceProvider)
Dispose()
DisposeAsync()
Rent()
Return(IDbContextPoolable)
ReturnAsync(IDbContextPoolable, CancellationToken)
net10.0
namespace Microsoft.EntityFrameworkCore.Internal
{
public class DbContextPool<TContext> : IDbContextPool, IDbContextPool<TContext!>, IAsyncDisposable, IDisposable
where TContext, DbContext!
{
[AsyncStateMachine(typeof(<ReturnAsync>d__9))]
public virtual ValueTask ReturnAsync(IDbContextPoolable! context, CancellationToken cancellationToken = default);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 10.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API