UpdateSqlGenerator.AppendUpdateCommandHeader Method

Definition

Overloads

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

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

Appends a SQL fragment for starting an UPDATE.

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

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.

operations
IReadOnlyList<ColumnModification>

The operations representing the data to be updated.

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

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

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

Appends a SQL fragment for starting an UPDATE.

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

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.

operations
IReadOnlyList<IColumnModification>

The operations representing the data to be updated.

Applies to

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