Language

UpdateAndSelectSqlGenerator.AppendDeleteAndSelectOperation メソッド

定義

DELETE の後に SELECT を使用して、作成中のコマンドに行を更新するための SQL を追加します。

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendDeleteAndSelectOperation(System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendDeleteAndSelectOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendDeleteAndSelectOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendDeleteAndSelectOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer, ByRef requiresTransaction As Boolean) As ResultSetMapping

パラメーター

commandStringBuilder
StringBuilder

SQL を追加するビルダー。

command
IReadOnlyModificationCommand

削除操作を表すコマンド。

commandPosition
Int32

バッチ内のこのコマンドの序数。

requiresTransaction
Boolean

正常に動作するために、追加された SQL をトランザクションで実行する必要があるかどうかを返します。

戻り値

コマンドの ResultSetMapping 。

適用対象