MigrationCommand 클래스

정의

마이그레이션할 데이터베이스로 보낼 준비가 된 명령을 나타냅니다.

public class MigrationCommand
type MigrationCommand = class
Public Class MigrationCommand
상속
MigrationCommand

설명

자세한 내용 및 예제는 데이터베이스 마이그레이션 을 참조하세요.

생성자

MigrationCommand(IRelationalCommand, Boolean)

명령의 새 instance 만듭니다.

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

명령의 새 instance 만듭니다.

MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)

명령의 새 instance 만듭니다.

속성

CommandLogger

연결된 명령 로거입니다.

CommandText

데이터베이스에 대해 실행될 SQL 명령 텍스트입니다.

TransactionSuppressed

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

메서드

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

명령을 실행하고 영향을 받는 행 수를 반환합니다.

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)

마이그레이션할 데이터베이스로 보낼 준비가 된 명령을 나타냅니다.

ExecuteNonQueryAsync(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean, CancellationToken)

마이그레이션할 데이터베이스로 보낼 준비가 된 명령을 나타냅니다.

ExecuteNonQueryAsync(IRelationalConnection, IReadOnlyDictionary<String,Object>, CancellationToken)

명령을 실행하고 영향을 받는 행 수를 반환합니다.

적용 대상