SqlServerDbContextOptionsBuilder(DbContextOptionsBuilder) 构造函数

定义

初始化 SqlServerDbContextOptionsBuilder 类的新实例。

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

参数

optionsBuilder
DbContextOptionsBuilder

选项生成器。

适用于