Share via


QueryContext.AddParameter(String, Object) Method

Definition

Adds a parameter to ParameterValues for this query.

public virtual void AddParameter (string name, object value);
public virtual void AddParameter (string name, object? value);
abstract member AddParameter : string * obj -> unit
override this.AddParameter : string * obj -> unit
Public Overridable Sub AddParameter (name As String, value As Object)

Parameters

name
String

The name.

value
Object

The value.

Implements

Microsoft.EntityFrameworkCore.Query.Internal.IParameterValues.AddParameter(System.String,System.Object) AddParameter(String, Object)

Applies to