다음을 통해 공유


UpdateSqlGenerator.AppendInsertReturningOperation 메서드

정의

데이터베이스에서 생성된 값을 검색하는 선택적 RETURNING 절이 포함된 INSERT를 통해 빌드 중인 명령에 행을 삽입하기 위한 SQL을 추가합니다.

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

적용 대상