共用方式為


IUpdateSqlGenerator.AppendInsertOperation 方法

定義

多載

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

附加 SQL 命令,以將資料列插入所建置的命令。

AppendInsertOperation(StringBuilder, ModificationCommand, Int32)

附加 SQL 命令,以將資料列插入所建置的命令。

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

附加 SQL 命令,以將資料列插入所建置的命令。

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

來源:
IUpdateSqlGenerator.cs
來源:
IUpdateSqlGenerator.cs
來源:
IUpdateSqlGenerator.cs

附加 SQL 命令,以將資料列插入所建置的命令。

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

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

command
IReadOnlyModificationCommand

表示刪除作業的命令。

commandPosition
Int32

批次中此命令的序數。

傳回

ResultSetMapping命令的 。

適用於

AppendInsertOperation(StringBuilder, ModificationCommand, Int32)

附加 SQL 命令,以將資料列插入所建置的命令。

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

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

command
ModificationCommand

表示刪除作業的命令。

commandPosition
Int32

批次中此命令的序數。

傳回

ResultSetMapping命令的 。

適用於

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

來源:
IUpdateSqlGenerator.cs
來源:
IUpdateSqlGenerator.cs
來源:
IUpdateSqlGenerator.cs

附加 SQL 命令,以將資料列插入所建置的命令。

public Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendInsertOperation (System.Text.StringBuilder commandStringBuilder, Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand command, int commandPosition, out bool requiresTransaction);
abstract member AppendInsertOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Function AppendInsertOperation (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命令的 。

適用於