Udostępnij za pośrednictwem


RelationalDbContextOptionsBuilder<TBuilder,TExtension> Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

optionsBuilder
DbContextOptionsBuilder

Konstruktor opcji podstawowych.

Dotyczy