Show / Hide Table of Contents

Class AbpEfCoreServiceCollectionExtensions

Inheritance
object
AbpEfCoreServiceCollectionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.EntityFrameworkCore.dll
Syntax
public static class AbpEfCoreServiceCollectionExtensions

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
Microsoft.Extensions.DependencyInjection.IServiceCollection services
System.Action<T><IAbpDbContextRegistrationOptionsBuilder> optionsBuilder
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection
Type Parameters
Name Description
TDbContext
In This Article
Back to top Powered by Volosoft