Partager via


DbContextOptionsBuilder Constructeurs

Définition

Surcharges

DbContextOptionsBuilder()

Initialise une nouvelle instance de la DbContextOptionsBuilder classe sans aucune option définie.

DbContextOptionsBuilder(DbContextOptions)

Initialise une nouvelle instance de la DbContextOptionsBuilder classe pour configurer davantage un donné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

Initialise une nouvelle instance de la DbContextOptionsBuilder classe sans aucune option définie.

public DbContextOptionsBuilder ();
Public Sub New ()

S’applique à

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

Initialise une nouvelle instance de la DbContextOptionsBuilder classe pour configurer davantage un donnéDbContextOptions.

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

Paramètres

options
DbContextOptions

Options à configurer.

S’applique à