IConventionStoredProcedureBuilder.HasOriginalValueParameter Method

Definition

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

C#
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureParameterBuilder? HasOriginalValueParameter (string propertyName, bool fromDataAnnotation = false);

Parameters

propertyName
String

The property name.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The builder instance if the configuration was applied, null otherwise.

Applies to

Продукт Версии
Entity Framework Core 7.0, 8.0, 9.0