DbFunctionBuilderBase.HasParameter Method

Definition

Overloads

HasParameter(String)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

HasParameter(String, Action<DbFunctionParameterBuilder>)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

HasParameter(String)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder HasParameter (string name);
abstract member HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder
override this.HasParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder
Public Overridable Function HasParameter (name As String) As DbFunctionParameterBuilder

Parameters

name
String

The parameter name.

Returns

The builder to use for further parameter configuration.

Remarks

See Database functions for more information and examples.

Applies to

HasParameter(String, Action<DbFunctionParameterBuilder>)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase HasParameter (string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder> buildAction);
abstract member HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase
override this.HasParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase
Public Overridable Function HasParameter (name As String, buildAction As Action(Of DbFunctionParameterBuilder)) As DbFunctionBuilderBase

Parameters

name
String

The parameter name.

buildAction
Action<DbFunctionParameterBuilder>

An action that performs configuration of the parameter.

Returns

The builder to use for further parameter configuration.

Remarks

See Database functions for more information and examples.

Applies to