StoredProcedureBuilder.HasParameter Method

Definition

Overloads

HasParameter(String)

Configures a new parameter if no parameter mapped to the given property exists.

HasParameter(String, Action<StoredProcedureParameterBuilder>)

Configures a new parameter if no parameter mapped to the given property exists.

HasParameter(String)

Configures a new parameter if no parameter mapped to the given property exists.

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

Parameters

propertyName
String

The property name.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to

HasParameter(String, Action<StoredProcedureParameterBuilder>)

Configures a new parameter if no parameter mapped to the given property exists.

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

Parameters

propertyName
String

The parameter name.

buildAction
Action<StoredProcedureParameterBuilder>

An action that performs configuration of the parameter.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to