InMemoryDbContextOptionsBuilder 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, Action<InMemoryDbContextOptionsBuilder>) and it is not designed to be directly constructed in your application code.

public class InMemoryDbContextOptionsBuilder
Public Class InMemoryDbContextOptionsBuilder
Inheritance
System.ObjectSystem.Object
InMemoryDbContextOptionsBuilderInMemoryDbContextOptionsBuilder

Constructors

InMemoryDbContextOptionsBuilder(DbContextOptionsBuilder) InMemoryDbContextOptionsBuilder(DbContextOptionsBuilder)

Initializes a new instance of the InMemoryDbContextOptionsBuilder class.

public InMemoryDbContextOptionsBuilder(DbContextOptionsBuilder optionsBuilder)
Public Sub New(optionsBuilder As DbContextOptionsBuilder)
Parameters
optionsBuilder
DbContextOptionsBuilder DbContextOptionsBuilder

The options builder.

Properties

OptionsBuilder OptionsBuilder

Clones the configuration in this builder.

protected virtual DbContextOptionsBuilder OptionsBuilder { get; }
Protected Overridable ReadOnly Property OptionsBuilder As DbContextOptionsBuilder
Value
DbContextOptionsBuilder DbContextOptionsBuilder

The cloned configuration.

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

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