net10.0
namespace Microsoft.Extensions.DependencyInjection
{
    public static class EntityFrameworkServiceCollectionExtensions
    {
        public static IServiceCollection! AddDbContext<TContextService, TContextImplementation>(this IServiceCollection! serviceCollection, Action<DbContextOptionsBuilder!>? optionsAction = null, ServiceLifetime contextLifetime = ServiceLifetime.Scoped, ServiceLifetime optionsLifetime = ServiceLifetime.Scoped)
            where TContextImplementation, DbContext!, TContextService;
    }
}
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 Microsoft.EntityFrameworkCore.

Package Microsoft.EntityFrameworkCore (10.0.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API