UpdateSqlGenerator.AppendInsertCommand Method

Definition

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>)

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

Appends a SQL command for inserting a row to the commands being built.

C#
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);

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

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 7.0, 8.0, 9.0

AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>)

Source:
UpdateSqlGenerator.cs

Appends a SQL command for inserting a row to the commands being built.

C#
protected virtual void AppendInsertCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> writeOperations);

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

Entity Framework Core 6.0
Produkt Versioner
Entity Framework Core 6.0

AppendInsertCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>)

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

Appends a SQL command for inserting a row to the commands being built.

C#
protected virtual void AppendInsertCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> writeOperations);

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 Core 5.0 och andra versioner
Produkt Versioner
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0