Dil

IMigrationCommandExecutor.ExecuteNonQueryAsync Yöntem

Tanım

Aşırı Yüklemeler

Veri Akışı Adı Description
ExecuteNonQueryAsync(IEnumerable<MigrationCommand>, IRelationalConnection, CancellationToken)

Verilen veritabanı bağlantısını kullanarak verilen komutları yürütür.

ExecuteNonQueryAsync(IReadOnlyList<MigrationCommand>, IRelationalConnection, MigrationExecutionState, Boolean, Nullable<IsolationLevel>, CancellationToken)

Verilen veritabanı bağlantısını kullanarak verilen komutları yürütür.

ExecuteNonQueryAsync(IEnumerable<MigrationCommand>, IRelationalConnection, CancellationToken)

Kaynak:
IMigrationCommandExecutor.cs
Kaynak:
IMigrationCommandExecutor.cs
Kaynak:
IMigrationCommandExecutor.cs
Kaynak:
IMigrationCommandExecutor.cs
Kaynak:
IMigrationCommandExecutor.cs

Verilen veritabanı bağlantısını kullanarak verilen komutları yürütür.

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

Parametreler

migrationCommands
IEnumerable<MigrationCommand>

Yürütülecek komutlar.

connection
IRelationalConnection

Kullanılacak bağlantı.

cancellationToken
CancellationToken

CancellationToken Görevin tamamlanmasını beklerken gözlemlemek için bir.

Döndürülenler

Zaman uyumsuz işlemi temsil eden bir görev.

Özel durumlar

Şunlara uygulanır

ExecuteNonQueryAsync(IReadOnlyList<MigrationCommand>, IRelationalConnection, MigrationExecutionState, Boolean, Nullable<IsolationLevel>, CancellationToken)

Kaynak:
IMigrationCommandExecutor.cs
Kaynak:
IMigrationCommandExecutor.cs
Kaynak:
IMigrationCommandExecutor.cs

Verilen veritabanı bağlantısını kullanarak verilen komutları yürütür.

public System.Threading.Tasks.Task<int> ExecuteNonQueryAsync(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> migrationCommands, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Migrations.MigrationExecutionState executionState, bool commitTransaction, System.Data.IsolationLevel? isolationLevel = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteNonQueryAsync : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.MigrationExecutionState * bool * Nullable<System.Data.IsolationLevel> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function ExecuteNonQueryAsync (migrationCommands As IReadOnlyList(Of MigrationCommand), connection As IRelationalConnection, executionState As MigrationExecutionState, commitTransaction As Boolean, Optional isolationLevel As Nullable(Of IsolationLevel) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Integer)

Parametreler

migrationCommands
IReadOnlyList<MigrationCommand>

Yürütülecek komutlar.

connection
IRelationalConnection

Kullanılacak bağlantı.

executionState
MigrationExecutionState

Geçerli geçiş yürütmesinin durumu.

commitTransaction
Boolean

Bu çağrı tarafından başlatılan işlemin işlenip işlenmeyeceğini gösterir. ise false, işlem içinde executionStatekullanılabilir hale getirilecektir.

isolationLevel
Nullable<IsolationLevel>

İşlemin yalıtım düzeyi.

cancellationToken
CancellationToken

CancellationToken Görevin tamamlanmasını beklerken gözlemlemek için bir.

Döndürülenler

Zaman uyumsuz işlemi temsil eden bir görev.

Özel durumlar

Şunlara uygulanır