共用方式為


DbContextOptionsBuilder 建構函式

定義

多載

DbContextOptionsBuilder()

初始化 類別的新實例, DbContextOptionsBuilder 但未設定任何選項。

DbContextOptionsBuilder(DbContextOptions)

初始化 類別的新實例, DbContextOptionsBuilder 以進一步設定指定的 DbContextOptions

DbContextOptionsBuilder()

來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs

初始化 類別的新實例, DbContextOptionsBuilder 但未設定任何選項。

public DbContextOptionsBuilder ();
Public Sub New ()

適用於

DbContextOptionsBuilder(DbContextOptions)

來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs
來源:
DbContextOptionsBuilder.cs

初始化 類別的新實例, DbContextOptionsBuilder 以進一步設定指定的 DbContextOptions

public DbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.EntityFrameworkCore.DbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.EntityFrameworkCore.DbContextOptionsBuilder
Public Sub New (options As DbContextOptions)

參數

options
DbContextOptions

要設定的選項。

適用於