In​Memory​Store In​Memory​Store Class

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 class InMemoryStore : IInMemoryStorePublic Class InMemoryStore
    Implements IInMemoryStore
Inheritance
System.ObjectSystem.Object
InMemoryStoreInMemoryStore
Implements

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

InMemoryStore(IInMemoryTableFactory) InMemoryStore(IInMemoryTableFactory)

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 InMemoryStore(IInMemoryTableFactory tableFactory)Public Sub New(tableFactory As IInMemoryTableFactory)
Parameters

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.

public virtual bool Clear()Public Overridable 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.

public virtual bool EnsureCreated(IModel model)Public Overridable 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.

public virtual int ExecuteTransaction(IEnumerable<IUpdateEntry> entries, ILogger<InMemoryDatabase> logger)Public Overridable 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.

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