Compartir a través de


RelationalDbContextOptionsBuilder<TBuilder,TExtension> Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

optionsBuilder
DbContextOptionsBuilder

Generador de opciones principales.

Se aplica a