Share via


IConventionDbFunctionBuilder.HasParameter(String, Boolean) Method

Definition

Returns an object that can be used to configure a parameter with the given name.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionParameterBuilder HasParameter (string name, bool fromDataAnnotation = false);
abstract member HasParameter : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionParameterBuilder
Public Function HasParameter (name As String, Optional fromDataAnnotation As Boolean = false) As IConventionDbFunctionParameterBuilder

Parameters

name
String

The parameter name.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The builder to use for further parameter configuration.

Applies to