UpdateSqlGenerator.AppendInsertCommand 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>)
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- 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>)
- Source:
- 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>)
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- UpdateSqlGenerator.cs
- Source:
- 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>
每列的操作。