Partager via


DbContextOptionsBuilder<TContext> Constructeurs

Définition

Surcharges

DbContextOptionsBuilder<TContext>()

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

DbContextOptionsBuilder<TContext>(DbContextOptions<TContext>)

Initialise une nouvelle instance de la DbContextOptionsBuilder<TContext> classe pour configurer davantage un .DbContextOptions

DbContextOptionsBuilder<TContext>()

Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs

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

public DbContextOptionsBuilder ();
Public Sub New ()

S’applique à

DbContextOptionsBuilder<TContext>(DbContextOptions<TContext>)

Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs
Source:
DbContextOptionsBuilder%60.cs

Initialise une nouvelle instance de la DbContextOptionsBuilder<TContext> classe pour configurer davantage un .DbContextOptions

public DbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptions<TContext> options);
new Microsoft.EntityFrameworkCore.DbContextOptionsBuilder<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> : Microsoft.EntityFrameworkCore.DbContextOptions<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)> -> Microsoft.EntityFrameworkCore.DbContextOptionsBuilder<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)>
Public Sub New (options As DbContextOptions(Of TContext))

Paramètres

options
DbContextOptions<TContext>

Options à configurer.

S’applique à