Поделиться через


IUpdateSqlGenerator.AppendUpdateOperation Метод

Определение

Перегрузки

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Добавляет команду SQL для обновления строки к создаваемым командам.

AppendUpdateOperation(StringBuilder, ModificationCommand, Int32)

Добавляет команду SQL для обновления строки к создаваемым командам.

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Добавляет команду SQL для обновления строки к создаваемым командам.

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Добавляет команду SQL для обновления строки к создаваемым командам.

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition);
public virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition);
abstract member AppendUpdateOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
abstract member AppendUpdateOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendUpdateOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendUpdateOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer) As ResultSetMapping
Public Overridable Function AppendUpdateOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer) As ResultSetMapping

Параметры

commandStringBuilder
StringBuilder

Построитель, к которому следует добавить SQL.

command
IReadOnlyModificationCommand

Команда, представляющая операцию удаления.

commandPosition
Int32

Порядковый номер этой команды в пакете.

Возвращаемое значение

Для ResultSetMapping команды .

Применяется к

AppendUpdateOperation(StringBuilder, ModificationCommand, Int32)

Добавляет команду SQL для обновления строки к создаваемым командам.

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.ModificationCommand command, int commandPosition);
abstract member AppendUpdateOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.ModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendUpdateOperation (commandStringBuilder As StringBuilder, command As ModificationCommand, commandPosition As Integer) As ResultSetMapping

Параметры

commandStringBuilder
StringBuilder

Построитель, к которому следует добавить SQL.

command
ModificationCommand

Команда, представляющая операцию удаления.

commandPosition
Int32

Порядковый номер этой команды в пакете.

Возвращаемое значение

Для ResultSetMapping команды .

Применяется к

AppendUpdateOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Добавляет команду SQL для обновления строки к создаваемым командам.

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendUpdateOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendUpdateOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendUpdateOperation (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 команды .

Применяется к