StoredProcedureBuilder.HasOriginalValueParameter Method

Definition

Overloads

HasOriginalValueParameter(String)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

HasOriginalValueParameter(String)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder HasOriginalValueParameter (string propertyName);
abstract member HasOriginalValueParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
override this.HasOriginalValueParameter : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
Public Overridable Function HasOriginalValueParameter (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

HasOriginalValueParameter(String, Action<StoredProcedureParameterBuilder>)

Configures a new parameter that holds the original value if no parameter mapped to the given property exists.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder HasOriginalValueParameter (string propertyName, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> buildAction);
abstract member HasOriginalValueParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
override this.HasOriginalValueParameter : string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder
Public Overridable Function HasOriginalValueParameter (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