共用方式為


UpdateSqlGenerator.AppendInsertCommand 方法

定義

多載

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

附加 SQL 命令,以將資料列插入所建置的命令。

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

附加 SQL 命令,以將資料列插入所建置的命令。

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

附加 SQL 命令,以將資料列插入所建置的命令。

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

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

附加 SQL 命令,以將資料列插入所建置的命令。

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

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

name
String

資料表的名稱。

schema
String

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

writeOperations
IReadOnlyList<IColumnModification>

具有要針對每個資料行插入之值的作業。

readOperations
IReadOnlyList<IColumnModification>

要讀取的資料行值作業。

適用於

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

來源:
UpdateSqlGenerator.cs

附加 SQL 命令,以將資料列插入所建置的命令。

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

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

name
String

資料表的名稱。

schema
String

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

writeOperations
IReadOnlyList<IColumnModification>

每個資料行的作業。

適用於

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

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

附加 SQL 命令,以將資料列插入所建置的命令。

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

參數

commandStringBuilder
StringBuilder

應該附加 SQL 的產生器。

name
String

資料表的名稱。

schema
String

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

writeOperations
IReadOnlyList<ColumnModification>

每個資料行的作業。

適用於