Class ServiceCollectionRepositoryExtensions
Inheritance
System.Object
ServiceCollectionRepositoryExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public static class ServiceCollectionRepositoryExtensions : object
Methods
AddDefaultRepository(IServiceCollection, Type, Type)
Declaration
public static IServiceCollection AddDefaultRepository(this IServiceCollection services, Type entityType, Type repositoryImplementationType)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | |
| Type | entityType | |
| Type | repositoryImplementationType |
Returns
| Type | Description |
|---|---|
| IServiceCollection |