UpdateSqlGenerator.AppendInsertCommandHeader 方法

定义

重载

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

追加用于启动 的 INSERTSQL 片段。

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

追加用于启动 的 INSERTSQL 片段。

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

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

追加用于启动 的 INSERTSQL 片段。

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

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

追加用于启动 的 INSERTSQL 片段。

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>

表示要插入的数据的操作。

适用于