Show / Hide Table of Contents

Class AbpEfCoreServiceCollectionExtensions

Inheritance
System.Object
AbpEfCoreServiceCollectionExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.EntityFrameworkCore.dll
Syntax
public static class AbpEfCoreServiceCollectionExtensions : object

Methods

AddAbpDbContext<TDbContext>(IServiceCollection, Action<IAbpDbContextRegistrationOptionsBuilder>)

Declaration
public static IServiceCollection AddAbpDbContext<TDbContext>(this IServiceCollection services, Action<IAbpDbContextRegistrationOptionsBuilder> optionsBuilder = null)

    where TDbContext : AbpDbContext<TDbContext>
Parameters
Type Name Description
IServiceCollection services
Action<IAbpDbContextRegistrationOptionsBuilder> optionsBuilder
Returns
Type Description
IServiceCollection
Type Parameters
Name Description
TDbContext
Back to top Powered by Volosoft