InMemoryDbContextOptionsBuilder Class

Definition

Allows in-memory specific configuration to be performed on DbContextOptions.

Instances of this class are returned from a call to UseInMemoryDatabase(DbContextOptionsBuilder, String, Action<InMemoryDbContextOptionsBuilder>) and it is not designed to be directly constructed in your application code.

public class InMemoryDbContextOptionsBuilder
type InMemoryDbContextOptionsBuilder = class
Public Class InMemoryDbContextOptionsBuilder
Inheritance
InMemoryDbContextOptionsBuilder

Constructors

InMemoryDbContextOptionsBuilder(DbContextOptionsBuilder)

Initializes a new instance of the InMemoryDbContextOptionsBuilder class.

Properties

OptionsBuilder

Clones the configuration in this builder.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Applies to