Delen via


DbContextOptionsBuilder Constructors

Definition

Overloads

DbContextOptionsBuilder()

Initializes a new instance of the DbContextOptionsBuilder class with no options set.

DbContextOptionsBuilder(DbContextOptions)

Initializes a new instance of the DbContextOptionsBuilder class to further configure a given DbContextOptions.

DbContextOptionsBuilder()

Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs

Initializes a new instance of the DbContextOptionsBuilder class with no options set.

public DbContextOptionsBuilder ();
Public Sub New ()

Applies to

DbContextOptionsBuilder(DbContextOptions)

Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs
Source:
DbContextOptionsBuilder.cs

Initializes a new instance of the DbContextOptionsBuilder class to further configure a given DbContextOptions.

public DbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptions options);
new Microsoft.EntityFrameworkCore.DbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptions -> Microsoft.EntityFrameworkCore.DbContextOptionsBuilder
Public Sub New (options As DbContextOptions)

Parameters

options
DbContextOptions

The options to be configured.

Applies to