UpdateSqlGenerator.AppendInsertCommand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>) |
Appends a SQL command for inserting a row to the commands being built. |
AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>) |
Appends a SQL command for inserting a row to the commands being built. |
AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>) |
Appends a SQL command for inserting a row to the commands being built. |
AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>)
Appends a SQL command for inserting a row to the commands being built.
protected virtual void AppendInsertCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> writeOperations, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> readOperations);
abstract member AppendInsertCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
override this.AppendInsertCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
Protected Overridable Sub AppendInsertCommand (commandStringBuilder As StringBuilder, name As String, schema As String, writeOperations As IReadOnlyList(Of IColumnModification), readOperations As IReadOnlyList(Of IColumnModification))
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- name
- String
The name of the table.
- schema
- String
The table schema, or null
to use the default schema.
- writeOperations
- IReadOnlyList<IColumnModification>
The operations with the values to insert for each column.
- readOperations
- IReadOnlyList<IColumnModification>
The operations for column values to be read back.
Applies to
AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>)
Appends a SQL command for inserting a row to the commands being built.
protected virtual void AppendInsertCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> writeOperations);
abstract member AppendInsertCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
override this.AppendInsertCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
Protected Overridable Sub AppendInsertCommand (commandStringBuilder As StringBuilder, name As String, schema As String, writeOperations As IReadOnlyList(Of IColumnModification))
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- name
- String
The name of the table.
- schema
- String
The table schema, or null
to use the default schema.
- writeOperations
- IReadOnlyList<IColumnModification>
The operations for each column.
Applies to
AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>)
Appends a SQL command for inserting a row to the commands being built.
protected virtual void AppendInsertCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> writeOperations);
abstract member AppendInsertCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
override this.AppendInsertCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
Protected Overridable Sub AppendInsertCommand (commandStringBuilder As StringBuilder, name As String, schema As String, writeOperations As IReadOnlyList(Of ColumnModification))
Parameters
- commandStringBuilder
- StringBuilder
The builder to which the SQL should be appended.
- name
- String
The name of the table.
- schema
- String
The table schema, or null
to use the default schema.
- writeOperations
- IReadOnlyList<ColumnModification>
The operations for each column.
Applies to
Entity Framework