다음을 통해 공유


UpdateAndSelectSqlGenerator.AppendInsertAndSelectOperation 메서드

정의

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

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

적용 대상