UpdateSqlGenerator.AppendSelectAffectedCountCommand 方法

定义

追加 SQL 命令以选择受影响的行数。

protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCountCommand (System.Text.StringBuilder commandStringBuilder, string name, string schema, int commandPosition);
protected virtual Microsoft.EntityFrameworkCore.Update.ResultSetMapping AppendSelectAffectedCountCommand (System.Text.StringBuilder commandStringBuilder, string name, string? schema, int commandPosition);
abstract member AppendSelectAffectedCountCommand : System.Text.StringBuilder * string * string * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
override this.AppendSelectAffectedCountCommand : System.Text.StringBuilder * string * string * int -> Microsoft.EntityFrameworkCore.Update.ResultSetMapping
Protected Overridable Function AppendSelectAffectedCountCommand (commandStringBuilder As StringBuilder, name As String, schema As String, commandPosition As Integer) As ResultSetMapping

参数

commandStringBuilder
StringBuilder

SQL 应追加到的生成器。

name
String

表的名称。

schema
String

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

commandPosition
Int32

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

返回

ResultSetMapping此命令的 。

适用于