InMemoryTestStore InMemoryTestStore Class

Syntax

Declaration

public class InMemoryTestStore : TestStore, IDisposablePublic Class InMemoryTestStore
    Inherits TestStore
    Implements IDisposable

Inheritance Hierarchy

Inherited Members

CreateShared(String, Action),
CreateShared(String, Action),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Methods

  • CreateScratch(Action, Action)
    CreateScratch(Action, Action)
    public static InMemoryTestStore CreateScratch(Action initializeDatabase, Action deleteDatabase)Public Shared Function CreateScratch(initializeDatabase As Action, deleteDatabase As Action) As InMemoryTestStore

    Parameters

    • initializeDatabase
      System.Action
      System.Action
    • deleteDatabase
      System.Action
      System.Action

    Returns

  • CreateScratch(Action, IServiceProvider)
    CreateScratch(Action, IServiceProvider)
    public static InMemoryTestStore CreateScratch(Action initializeDatabase, IServiceProvider serviceProvider)Public Shared Function CreateScratch(initializeDatabase As Action, serviceProvider As IServiceProvider) As InMemoryTestStore

    Parameters

    • initializeDatabase
      System.Action
      System.Action
    • serviceProvider
      System.IServiceProvider
      System.IServiceProvider

    Returns

  • Dispose()
    Dispose()
    public override void Dispose()Public Overrides Sub Dispose
  • GetOrCreateShared(String, Action)
    GetOrCreateShared(String, Action)
    public static InMemoryTestStore GetOrCreateShared(string name, Action initializeDatabase)Public Shared Function GetOrCreateShared(name As String, initializeDatabase As Action) As InMemoryTestStore

    Parameters

    • name
      System.String
      System.String
    • initializeDatabase
      System.Action
      System.Action

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.dll