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

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

ExecuteTransaction(IEnumerable, ILogger) 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

GetHashCode() GetHashCode()

Inherited from System.Object

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)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object