IRelationalParameterBuilder.AddPropertyParameter Method

Definition

Adds a parameter.

public void AddPropertyParameter (string invariantName, string name, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member AddPropertyParameter : string * string * Microsoft.EntityFrameworkCore.Metadata.IProperty -> unit
Public Sub AddPropertyParameter (invariantName As String, name As String, property As IProperty)

Parameters

invariantName
String

The key that identifies this parameter. Note that IRelationalParameter just represents a placeholder for a parameter and not the actual value. This is because the same command can be reused multiple times with different parameter values.

name
String

The name to be used for the parameter when the command is executed against the database.

property
IProperty

The property that values for this parameter will come from.

Applies to