IMigrationCommandExecutor.ExecuteNonQuery Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| ExecuteNonQuery(IEnumerable<MigrationCommand>, IRelationalConnection) |
Führt die angegebenen Befehle mithilfe der angegebenen Datenbankverbindung aus. |
| ExecuteNonQuery(IReadOnlyList<MigrationCommand>, IRelationalConnection, MigrationExecutionState, Boolean, Nullable<IsolationLevel>) |
Führt die angegebenen Befehle mithilfe der angegebenen Datenbankverbindung aus. |
ExecuteNonQuery(IEnumerable<MigrationCommand>, IRelationalConnection)
- Quelle:
- IMigrationCommandExecutor.cs
- Quelle:
- IMigrationCommandExecutor.cs
- Quelle:
- IMigrationCommandExecutor.cs
- Quelle:
- IMigrationCommandExecutor.cs
- Quelle:
- IMigrationCommandExecutor.cs
Führt die angegebenen Befehle mithilfe der angegebenen Datenbankverbindung aus.
public void ExecuteNonQuery(System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> migrationCommands, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
abstract member ExecuteNonQuery : seq<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> unit
Public Sub ExecuteNonQuery (migrationCommands As IEnumerable(Of MigrationCommand), connection As IRelationalConnection)
Parameter
- migrationCommands
- IEnumerable<MigrationCommand>
Die auszuführenden Befehle.
- connection
- IRelationalConnection
Die zu verwendende Verbindung.
Gilt für:
ExecuteNonQuery(IReadOnlyList<MigrationCommand>, IRelationalConnection, MigrationExecutionState, Boolean, Nullable<IsolationLevel>)
- Quelle:
- IMigrationCommandExecutor.cs
- Quelle:
- IMigrationCommandExecutor.cs
- Quelle:
- IMigrationCommandExecutor.cs
Führt die angegebenen Befehle mithilfe der angegebenen Datenbankverbindung aus.
public int ExecuteNonQuery(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);
abstract member ExecuteNonQuery : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.MigrationExecutionState * bool * Nullable<System.Data.IsolationLevel> -> int
Public Function ExecuteNonQuery (migrationCommands As IReadOnlyList(Of MigrationCommand), connection As IRelationalConnection, executionState As MigrationExecutionState, commitTransaction As Boolean, Optional isolationLevel As Nullable(Of IsolationLevel) = Nothing) As Integer
Parameter
- migrationCommands
- IReadOnlyList<MigrationCommand>
Die auszuführenden Befehle.
- connection
- IRelationalConnection
Die zu verwendende Verbindung.
- executionState
- MigrationExecutionState
Der Status der aktuellen Migrationsausführung.
- commitTransaction
- Boolean
Gibt an, ob die von diesem Aufruf gestartete Transaktion zugesichert werden soll.
Wenn falsedie Transaktion verfügbar gemacht wird.executionState
- isolationLevel
- Nullable<IsolationLevel>
Die Isolationsstufe für die Transaktion.