InMemoryDatabaseCreator InMemoryDatabaseCreator 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 InMemoryDatabaseCreator : IDatabaseCreatorPublic Class InMemoryDatabaseCreator
    Implements IDatabaseCreator

Inheritance Hierarchy

  • System.Object
    System.Object
  • InMemoryDatabaseCreator
    InMemoryDatabaseCreator

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

  • InMemoryDatabaseCreator(IInMemoryDatabase, IModel)
    InMemoryDatabaseCreator(IInMemoryDatabase, 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 InMemoryDatabaseCreator(IInMemoryDatabase database, IModel model)Public Sub New(database As IInMemoryDatabase, model As IModel)

    Parameters

Methods

  • EnsureCreated()
    EnsureCreated()

    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()Public Overridable Function EnsureCreated As Boolean

    Returns

    • System.Boolean
      System.Boolean
  • EnsureCreatedAsync(CancellationToken)
    EnsureCreatedAsync(CancellationToken)

    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 Task<bool> EnsureCreatedAsync(CancellationToken cancellationToken = null)Public Overridable Function EnsureCreatedAsync(cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

    Parameters

    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><System.Boolean>
      System.Threading.Tasks.Task<TResult>(Of System.Boolean)
  • EnsureDeleted()
    EnsureDeleted()

    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 EnsureDeleted()Public Overridable Function EnsureDeleted As Boolean

    Returns

    • System.Boolean
      System.Boolean
  • EnsureDeletedAsync(CancellationToken)
    EnsureDeletedAsync(CancellationToken)

    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 Task<bool> EnsureDeletedAsync(CancellationToken cancellationToken = null)Public Overridable Function EnsureDeletedAsync(cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

    Parameters

    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><System.Boolean>
      System.Threading.Tasks.Task<TResult>(Of System.Boolean)

Details

Assembly

Microsoft.EntityFrameworkCore.InMemory.dll