다음을 통해 공유


UpdateSqlGenerator.AppendUpdateReturningOperation 메서드

정의

데이터베이스에서 생성된 값을 검색하거나 동시성 검사를 위해 RETURNING 절이 포함된 UPDATE를 통해 빌드 중인 명령에 행을 업데이트하기 위한 SQL을 추가합니다.

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateReturningOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendUpdateReturningOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendUpdateReturningOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendUpdateReturningOperation (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 명령에 대한 입니다.

적용 대상