共用方式為


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

選項產生器。

適用於