Skip to main content
All docs
V24.1
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

EFCoreObjectSpaceProviderBuilderExtensions.AddEFCore Method

Name Parameters Description
AddEFCore<TContext>(IObjectSpaceProviderBuilder<TContext>, Action<EFCoreObjectSpaceProviderOptionsBuilder>) static builder, configureObjectSpaceProviderOptions Adds the EFCoreObjectSpaceProvider<TDbContext> to your WinForms application.
AddEFCore<TContext>(IObjectSpaceProviderBuilder<TContext>, Action<IServiceProvider, EFCoreObjectSpaceProviderOptionsBuilder>) static builder, configureObjectSpaceProviderOptions Adds the EFCoreObjectSpaceProvider<TDbContext> to your WinForms application.
AddEFCore<TContext>(IObjectSpaceProviderServiceBasedBuilder<TContext>, Action<EFCoreObjectSpaceProviderOptionsBuilder>) static builder, configureObjectSpaceProviderOptions Adds the EFCoreObjectSpaceProvider<TDbContext> to your ASP.NET Core Blazor application.
AddEFCore<TContext>(IObjectSpaceProviderServiceBasedBuilder<TContext>, Action<IServiceProvider, EFCoreObjectSpaceProviderOptionsBuilder>) static builder, configureObjectSpaceProviderOptions Adds the EFCoreObjectSpaceProvider<TDbContext> to your ASP.NET Core Blazor application.