Share via


RelationalCommand Constructor

Definition

Constructs a new RelationalCommand.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public RelationalCommand (Microsoft.EntityFrameworkCore.Storage.RelationalCommandBuilderDependencies dependencies, string commandText, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.IRelationalParameter> parameters);
new Microsoft.EntityFrameworkCore.Storage.RelationalCommand : Microsoft.EntityFrameworkCore.Storage.RelationalCommandBuilderDependencies * string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.IRelationalParameter> -> Microsoft.EntityFrameworkCore.Storage.RelationalCommand
Public Sub New (dependencies As RelationalCommandBuilderDependencies, commandText As String, parameters As IReadOnlyList(Of IRelationalParameter))

Parameters

dependencies
RelationalCommandBuilderDependencies

Service dependencies.

commandText
String

The text of the command to be executed.

parameters
IReadOnlyList<IRelationalParameter>

Parameters for the command.

Applies to