Sdílet prostřednictvím


RawSqlCommand Konstruktor

Definice

Inicializuje novou instanci RawSqlCommand třídy .

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

Parametry

relationalCommand
IRelationalCommand

Příkaz, který se má spustit.

parameterValues
IReadOnlyDictionary<String,Object>

Hodnoty, které mají být přiřazeny parametrům.

Platí pro