Class MemoryDatabase
Inheritance
object
MemoryDatabase
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Domain.Repositories.MemoryDb
Assembly: Volo.Abp.MemoryDb.dll
Syntax
public class MemoryDatabase : IMemoryDatabase, ITransientDependency
Constructors
MemoryDatabase(IServiceProvider)
Declaration
public MemoryDatabase(IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IServiceProvider | serviceProvider |
Methods
Collection<TEntity>()
Declaration
public IMemoryDatabaseCollection<TEntity> Collection<TEntity>() where TEntity : class, IEntity
Returns
| Type | Description |
|---|---|
| IMemoryDatabaseCollection<TEntity> |
Type Parameters
| Name | Description |
|---|---|
| TEntity |
GenerateNextId<TEntity, TKey>()
Declaration
public TKey GenerateNextId<TEntity, TKey>()
Returns
| Type | Description |
|---|---|
| TKey |
Type Parameters
| Name | Description |
|---|---|
| TEntity | |
| TKey |