共用方式為


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>

要指派給參數的值。

適用於