Share via


RelationalDbContextOptionsBuilder<TBuilder,TExtension> Constructor

Definition

Initializes a new instance of the RelationalDbContextOptionsBuilder<TBuilder,TExtension> class.

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)

Parameters

optionsBuilder
DbContextOptionsBuilder

The core options builder.

Applies to