Class AbpMemoryDbServiceCollectionExtensions
Inheritance
object
AbpMemoryDbServiceCollectionExtensions
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.MemoryDb.dll
Syntax
public static class AbpMemoryDbServiceCollectionExtensions
Methods
AddMemoryDbContext<TMemoryDbContext>(IServiceCollection, Action<IAbpMemoryDbContextRegistrationOptionsBuilder>)
Declaration
public static IServiceCollection AddMemoryDbContext<TMemoryDbContext>(this IServiceCollection services, Action<IAbpMemoryDbContextRegistrationOptionsBuilder> optionsBuilder = null) where TMemoryDbContext : MemoryDbContext
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services | |
| System.Action<T><IAbpMemoryDbContextRegistrationOptionsBuilder> | optionsBuilder |
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection |
Type Parameters
| Name | Description |
|---|---|
| TMemoryDbContext |