I​In​Memory​Store I​In​Memory​Store 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 IInMemoryStorePublic Interface IInMemoryStore

Methods

Clear() Clear()

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 Clear()Function Clear As Boolean
Returns
System.Boolean System.Boolean

EnsureCreated(IModel) EnsureCreated(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 EnsureCreated(IModel model)Function EnsureCreated(model As IModel) As Boolean
Parameters
model
IModel IModel
Returns
System.Boolean System.Boolean

ExecuteTransaction(IEnumerable<IUpdateEntry>, ILogger<InMemoryDatabase>) ExecuteTransaction(IEnumerable(Of IUpdateEntry), ILogger(Of InMemoryDatabase))

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.

int ExecuteTransaction(IEnumerable<IUpdateEntry> entries, ILogger<InMemoryDatabase> logger)Function ExecuteTransaction(entries As IEnumerable(Of IUpdateEntry), logger As ILogger(Of InMemoryDatabase)) As Integer
Parameters
entries
System.Collections.Generic.IEnumerable<IUpdateEntry> System.Collections.Generic.IEnumerable(Of IUpdateEntry)
logger
ILogger<InMemoryDatabase> ILogger(Of InMemoryDatabase)
Returns
System.Int32 System.Int32

GetTables(IEntityType) GetTables(IEntityType)

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.

IReadOnlyList<InMemoryTableSnapshot> GetTables(IEntityType entityType)Function GetTables(entityType As IEntityType) As IReadOnlyList(Of InMemoryTableSnapshot)
Parameters
Returns
System.Collections.Generic.IReadOnlyList<InMemoryTableSnapshot> System.Collections.Generic.IReadOnlyList(Of InMemoryTableSnapshot)