Partager via


RelationalDbContextOptionsBuilder<TBuilder,TExtension> Constructeur

Définition

Initialise une nouvelle instance de la classe RelationalDbContextOptionsBuilder<TBuilder,TExtension>.

protected RelationalDbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder);
new Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension (requires 'Builder :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension> and 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension)> : Microsoft.EntityFrameworkCore.DbContextOptionsBuilder -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension (requires 'Builder :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension> and 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension)>
new Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension (requires 'Builder :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension> and 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension and 'Extension : (new : unit -> 'Extension))> : Microsoft.EntityFrameworkCore.DbContextOptionsBuilder -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension (requires 'Builder :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<'Builder, 'Extension> and 'Extension :> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension and 'Extension : (new : unit -> 'Extension))>
Protected Sub New (optionsBuilder As DbContextOptionsBuilder)

Paramètres

optionsBuilder
DbContextOptionsBuilder

Générateur d’options principales.

S’applique à