InMemoryDbContextOptionsBuilder(DbContextOptionsBuilder) 构造函数

定义

初始化 InMemoryDbContextOptionsBuilder 类的新实例。

public InMemoryDbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder);
new Microsoft.EntityFrameworkCore.Infrastructure.InMemoryDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptionsBuilder -> Microsoft.EntityFrameworkCore.Infrastructure.InMemoryDbContextOptionsBuilder
Public Sub New (optionsBuilder As DbContextOptionsBuilder)

参数

optionsBuilder
DbContextOptionsBuilder

选项生成器。

适用于