Share via


RawSqlCommand Constructor

Definition

Initializes a new instance of the RawSqlCommand class.

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))

Parameters

relationalCommand
IRelationalCommand

The command to be executed.

parameterValues
IReadOnlyDictionary<String,Object>

The values to be assigned to parameters.

Applies to