RawSqlCommand 构造函数

定义

初始化 RawSqlCommand 类的新实例。

public RawSqlCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues);
public RawSqlCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameterValues);
new Microsoft.EntityFrameworkCore.Storage.RawSqlCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.EntityFrameworkCore.Storage.RawSqlCommand
Public Sub New (relationalCommand As IRelationalCommand, parameterValues As IReadOnlyDictionary(Of String, Object))

参数

relationalCommand
IRelationalCommand

要执行的命令。

parameterValues
IReadOnlyDictionary<String,Object>

要分配给参数的值。

适用于