共用方式為


UpdateSqlGenerator.AppendUpdateCommandHeader 方法

定義

多載

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

附加 SQL 片段以啟動 UPDATE

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

附加 SQL 片段以啟動 UPDATE

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

來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs

附加 SQL 片段以啟動 UPDATE

protected virtual void AppendUpdateCommandHeader (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> operations);
abstract member AppendUpdateCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
override this.AppendUpdateCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
Protected Overridable Sub AppendUpdateCommandHeader (commandStringBuilder As StringBuilder, name As String, schema As String, operations As IReadOnlyList(Of ColumnModification))

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

name
String

資料表的名稱。

schema
String

資料表架構,或使用 null 預設架構。

operations
IReadOnlyList<ColumnModification>

表示要更新之資料的作業。

適用於

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

來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs

附加 SQL 片段以啟動 UPDATE

protected virtual void AppendUpdateCommandHeader (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> operations);
abstract member AppendUpdateCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
override this.AppendUpdateCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
Protected Overridable Sub AppendUpdateCommandHeader (commandStringBuilder As StringBuilder, name As String, schema As String, operations As IReadOnlyList(Of IColumnModification))

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

name
String

資料表的名稱。

schema
String

資料表架構,或使用 null 預設架構。

operations
IReadOnlyList<IColumnModification>

表示要更新之資料的作業。

適用於