다음을 통해 공유


MigrationCommand 생성자

정의

오버로드

MigrationCommand(IRelationalCommand, Boolean)

명령의 새 instance 만듭니다.

MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)

명령의 새 instance 만듭니다.

MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)

명령의 새 instance 만듭니다.

MigrationCommand(IRelationalCommand, Boolean)

Source:
MigrationCommand.cs
Source:
MigrationCommand.cs

명령의 새 instance 만듭니다.

public MigrationCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, bool transactionSuppressed = false);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommand
Public Sub New (relationalCommand As IRelationalCommand, Optional transactionSuppressed As Boolean = false)

매개 변수

relationalCommand
IRelationalCommand

명령을 실행하는 데 사용할 기본 IRelationalCommand 입니다.

transactionSuppressed
Boolean

명령을 실행하는 동안 트랜잭션을 표시하지 않아야 하는지 여부를 나타냅니다.

적용 대상

MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)

Source:
MigrationCommand.cs
Source:
MigrationCommand.cs
Source:
MigrationCommand.cs

명령의 새 instance 만듭니다.

public MigrationCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger, bool transactionSuppressed = false);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> * bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommand
Public Sub New (relationalCommand As IRelationalCommand, context As DbContext, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command), Optional transactionSuppressed As Boolean = false)

매개 변수

relationalCommand
IRelationalCommand

명령을 실행하는 데 사용할 기본 IRelationalCommand 입니다.

context
DbContext

알 수 없는 경우 현재 DbContext 또는 null입니다.

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

명령 로거입니다.

transactionSuppressed
Boolean

명령을 실행하는 동안 트랜잭션을 표시하지 않아야 하는지 여부를 나타냅니다.

적용 대상

MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)

Source:
MigrationCommand.cs
Source:
MigrationCommand.cs
Source:
MigrationCommand.cs
Source:
MigrationCommand.cs

명령의 새 instance 만듭니다.

public MigrationCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger logger, bool transactionSuppressed = false);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger * bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommand
Public Sub New (relationalCommand As IRelationalCommand, context As DbContext, logger As IRelationalCommandDiagnosticsLogger, Optional transactionSuppressed As Boolean = false)

매개 변수

relationalCommand
IRelationalCommand

명령을 실행하는 데 사용할 기본 IRelationalCommand 입니다.

context
DbContext

현재 DbContext 또는 null 알 수 없는 경우 입니다.

logger
IRelationalCommandDiagnosticsLogger

명령 로거입니다.

transactionSuppressed
Boolean

명령을 실행하는 동안 트랜잭션을 표시하지 않아야 하는지 여부를 나타냅니다.

적용 대상