Compartir a través de


UpdateSqlGenerator.AppendInsertOperation Método

Definición

Sobrecargas

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Anexa un comando SQL para insertar una fila en los comandos que se compilan.

AppendInsertOperation(StringBuilder, ModificationCommand, Int32)

Anexa un comando SQL para insertar una fila en los comandos que se compilan.

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Anexa un comando SQL para insertar una fila en los comandos que se compilan.

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32)

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

Anexa un comando SQL para insertar una fila en los comandos que se compilan.

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
override this.AppendInsertOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Overridable Function AppendInsertOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer) As ResultSetMapping

Parámetros

commandStringBuilder
StringBuilder

Generador al que se debe anexar sql.

command
IReadOnlyModificationCommand

Comando que representa la operación de eliminación.

commandPosition
Int32

Ordinal de este comando en el lote.

Devoluciones

ResultSetMapping para el comando .

Implementaciones

Se aplica a

AppendInsertOperation(StringBuilder, ModificationCommand, Int32)

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

Anexa un comando SQL para insertar una fila en los comandos que se compilan.

public virtual 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
override this.AppendInsertOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.ModificationCommand * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Overridable Function AppendInsertOperation (commandStringBuilder As StringBuilder, command As ModificationCommand, commandPosition As Integer) As ResultSetMapping

Parámetros

commandStringBuilder
StringBuilder

Generador al que se debe anexar sql.

command
ModificationCommand

Comando que representa la operación de eliminación.

commandPosition
Int32

Ordinal de este comando en el lote.

Devoluciones

ResultSetMapping para el comando .

Implementaciones

Se aplica a

AppendInsertOperation(StringBuilder, IReadOnlyModificationCommand, Int32, Boolean)

Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs
Source:
UpdateSqlGenerator.cs

Anexa un comando SQL para insertar una fila en los comandos que se compilan.

public virtual 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
override this.AppendInsertOperation : System.Text.StringBuilder * Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand * int * bool -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Public Overridable Function AppendInsertOperation (commandStringBuilder As StringBuilder, command As IReadOnlyModificationCommand, commandPosition As Integer, ByRef requiresTransaction As Boolean) As ResultSetMapping

Parámetros

commandStringBuilder
StringBuilder

Generador al que se debe anexar sql.

command
IReadOnlyModificationCommand

Comando que representa la operación de eliminación.

commandPosition
Int32

Ordinal de este comando en el lote.

requiresTransaction
Boolean

Devuelve si el código SQL anexado debe ejecutarse en una transacción para que funcione correctamente.

Devoluciones

ResultSetMapping para el comando .

Implementaciones

Se aplica a