共用方式為


UpdateSqlGenerator.AppendInsertCommandHeader 方法

定義

多載

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

附加 SQL 片段以啟動 INSERT

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

附加 SQL 片段以啟動 INSERT

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

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

附加 SQL 片段以啟動 INSERT

protected virtual void AppendInsertCommandHeader (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> operations);
abstract member AppendInsertCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
override this.AppendInsertCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> -> unit
Protected Overridable Sub AppendInsertCommandHeader (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>

表示要插入之資料的作業。

適用於

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

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

附加 SQL 片段以啟動 INSERT

protected virtual void AppendInsertCommandHeader (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> operations);
abstract member AppendInsertCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
override this.AppendInsertCommandHeader : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> -> unit
Protected Overridable Sub AppendInsertCommandHeader (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>

表示要插入之資料的作業。

適用於