IInMemoryDatabase IInMemoryDatabase Interface

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public interface IInMemoryDatabase : IDatabase
Public Interface IInMemoryDatabase
    Inherits IDatabase

Properties

Store Store

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

IInMemoryStore Store { get; }
ReadOnly Property Store As IInMemoryStore

Methods

CompileAsyncQuery(QueryModel) CompileAsyncQuery(Of TResult)(QueryModel)

Translates a query model into a function that can be executed to asynchronously get query results from the database.

(Inherited from IDatabase)

CompileQuery(QueryModel) CompileQuery(Of TResult)(QueryModel)

Translates a query model into a function that can be executed to get query results from the database.

(Inherited from IDatabase)

EnsureDatabaseCreated(IModel) EnsureDatabaseCreated(IModel)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

bool EnsureDatabaseCreated(IModel model)
Function EnsureDatabaseCreated(model As IModel) As Boolean
Parameters
model
IModel IModel
Returns
System.Boolean System.Boolean

SaveChanges(IReadOnlyList) SaveChanges(IReadOnlyList(Of IUpdateEntry))

Persists changes from the supplied entries to the database.

(Inherited from IDatabase)

SaveChangesAsync(IReadOnlyList, CancellationToken) SaveChangesAsync(IReadOnlyList(Of IUpdateEntry), CancellationToken)

Asynchronously persists changes from the supplied entries to the database.

(Inherited from IDatabase)