UpdateSqlGenerator.AppendSelectAffectedCommand 方法

定义

重载

AppendSelectAffectedCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>, IReadOnlyList<ColumnModification>, Int32)

追加用于选择受影响数据的 SQL 命令。

AppendSelectAffectedCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, Int32)

追加用于选择受影响数据的 SQL 命令。

AppendSelectAffectedCommand(StringBuilder, String, String, IReadOnlyList<ColumnModification>, IReadOnlyList<ColumnModification>, Int32)

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

追加用于选择受影响数据的 SQL 命令。

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> readOperations, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> conditionOperations, int commandPosition);
abstract member AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.ColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendSelectAffectedCommand (commandStringBuilder As StringBuilder, name As String, schema As String, readOperations As IReadOnlyList(Of ColumnModification), conditionOperations As IReadOnlyList(Of ColumnModification), commandPosition As Integer) As ResultSetMapping

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

name
String

表的名称。

schema
String

表架构,或使用 null 默认架构。

readOperations
IReadOnlyList<ColumnModification>

表示要读取的数据的操作。

conditionOperations
IReadOnlyList<ColumnModification>

用于为 select 生成 WHERE 子句的操作。

commandPosition
Int32

命令的序号,该命令的行影响其返回。

返回

ResultSetMapping此命令的 。

适用于

AppendSelectAffectedCommand(StringBuilder, String, String, IReadOnlyList<IColumnModification>, IReadOnlyList<IColumnModification>, Int32)

Source:
UpdateSqlGenerator.cs

追加用于选择受影响数据的 SQL 命令。

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> readOperations, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> conditionOperations, int commandPosition);
abstract member AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendSelectAffectedCommand : System.Text.StringBuilder * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Update.IColumnModification> * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendSelectAffectedCommand (commandStringBuilder As StringBuilder, name As String, schema As String, readOperations As IReadOnlyList(Of IColumnModification), conditionOperations As IReadOnlyList(Of IColumnModification), commandPosition As Integer) As ResultSetMapping

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

name
String

表的名称。

schema
String

表架构,或使用 null 默认架构。

readOperations
IReadOnlyList<IColumnModification>

表示要读取的数据的操作。

conditionOperations
IReadOnlyList<IColumnModification>

用于为 select 生成 WHERE 子句的操作。

commandPosition
Int32

命令的序号,该命令的行影响其返回。

返回

ResultSetMapping此命令的 。

适用于