InMemoryStore InMemoryStore Class

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.

Syntax

Declaration

public class InMemoryStore : IInMemoryStorePublic Class InMemoryStore
    Implements IInMemoryStore

Inheritance Hierarchy

  • System.Object
    System.Object
  • InMemoryStore
    InMemoryStore

Inherited Members

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

Constructors summary

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.

Methods summary

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.

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.

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.

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.

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

    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

    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

Details

Assembly

Microsoft.EntityFrameworkCore.InMemory.dll