Class ServiceCollectionRepositoryExtensions
Inherited Members
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public static class ServiceCollectionRepositoryExtensions
Methods
AddDefaultRepository(IServiceCollection, Type, Type, bool)
Declaration
public static IServiceCollection AddDefaultRepository(this IServiceCollection services, Type entityType, Type repositoryImplementationType, bool replaceExisting = false)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | |
| Type | entityType | |
| Type | repositoryImplementationType | |
| bool | replaceExisting |
Returns
| Type | Description |
|---|---|
| IServiceCollection |