共用方式為


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)

來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
UpdateSqlGenerator.cs
來源:
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>

用來產生 WHERE select 子句的作業。

commandPosition
Int32

命令的序數,其中資料列會影響其傳回。

傳回

ResultSetMapping此命令的 。

適用於

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

來源:
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>

用來產生 WHERE select 子句的作業。

commandPosition
Int32

命令的序數,其中資料列會影響其傳回。

傳回

ResultSetMapping此命令的 。

適用於