Class ServiceCollectionRepositoryExtensions
Inheritance
object
ServiceCollectionRepositoryExtensions
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.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 |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services | |
| System.Type | entityType | |
| System.Type | repositoryImplementationType | |
| bool | replaceExisting |
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection |