다음을 통해 공유


IMigrationCommandExecutor.ExecuteNonQueryAsync 메서드

정의

지정된 데이터베이스 연결을 사용하여 지정된 명령을 실행합니다.

public System.Threading.Tasks.Task ExecuteNonQueryAsync (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> migrationCommands, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteNonQueryAsync : seq<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ExecuteNonQueryAsync (migrationCommands As IEnumerable(Of MigrationCommand), connection As IRelationalConnection, Optional cancellationToken As CancellationToken = Nothing) As Task

매개 변수

migrationCommands
IEnumerable<MigrationCommand>

실행할 명령입니다.

connection
IRelationalConnection

사용할 연결입니다.

cancellationToken
CancellationToken

CancellationToken 작업이 완료 될 때까지 기다리는 동안 관찰할 입니다.

반환

비동기 작업(operation)을 나타내는 작업(task)입니다.

예외

적용 대상