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