Share via


QueryContext.SetParameter(String, Object) Method

Definition

Sets a parameter value.

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

Parameters

name
String

The name.

value
Object

The value.

Implements

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

Applies to