다음을 통해 공유


UpdateAndSelectSqlGenerator.AppendUpdateAndSelectOperation 메서드

정의

SQL을 추가하여 빌드 중인 명령에 행을 업데이트하고, UPDATE를 통해, SELECT를 통해 데이터베이스에서 생성된 값을 검색하거나 동시성 검사를 수행합니다.

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

적용 대상