net9.0
namespace Microsoft.EntityFrameworkCore.TestUtilities
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection! AddDbContext(this IServiceCollection! serviceCollection, Type! contextType, Action<IServiceProvider!, DbContextOptionsBuilder!>! optionsAction, ServiceLifetime contextLifetime = ServiceLifetime.Scoped, ServiceLifetime optionsLifetime = ServiceLifetime.Scoped);
}
}
.NET | 9.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.EntityFrameworkCore.Specification.Tests , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.Specification.Tests (9.0.0) net9.0 |
Platform Restrictions | This API is supported on all platforms. |