다음을 통해 공유


DbContextOptionsBuilder<TContext> 생성자

정의

오버로드

DbContextOptionsBuilder<TContext>()

옵션이 설정되지 않은 클래스의 DbContextOptionsBuilder<TContext> 새 instance 초기화합니다.

DbContextOptionsBuilder<TContext>(DbContextOptions<TContext>)

클래스의 DbContextOptionsBuilder<TContext> 새 instance 초기화하여 지정된 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

옵션이 설정되지 않은 클래스의 DbContextOptionsBuilder<TContext> 새 instance 초기화합니다.

public DbContextOptionsBuilder ();
Public Sub New ()

적용 대상

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

클래스의 DbContextOptionsBuilder<TContext> 새 instance 초기화하여 지정된 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))

매개 변수

options
DbContextOptions<TContext>

구성할 옵션입니다.

적용 대상