src/Shared/EntityFramework/ModelConfiguration/Configuration/Functions/ConventionUpdateModificationStoredProcedureConfiguration.cs
/// <summary>Configures a parameter for this stored procedure.</summary>
/// <returns> The same configuration instance so that multiple calls can be chained. </returns>
/// <param name="propertyName"> The name of the property to configure the parameter for. </param>
/// <param name="currentValueParameterName">The current value parameter name.</param>
/// <param name="originalValueParameterName">The original value parameter name.</param>
Configures a parameter for this stored procedure.
Configures a parameter for this stored procedure .
public ConventionUpdateModificationStoredProcedureConfiguration Parameter(
            string propertyName, string currentValueParameterName, string originalValueParameterName)
        {
            Check.NotEmpty(propertyName, "propertyName");
            Check.NotEmpty(currentValueParameterName, "currentValueParameterName");
            Check.NotEmpty(originalValueParameterName, "originalValueParameterName");
            return Parameter(_type.GetAnyProperty(propertyName), currentValueParameterName, originalValueParameterName);
        }
public ConventionUpdateModificationStoredProcedureConfiguration Parameter ( string propertyName , string currentValueParameterName , string originalValueParameterName ) { Check . NotEmpty ( propertyName , " " ) ; Check . NotEmpty ( currentValueParameterName , " " ) ; Check . NotEmpty ( originalValueParameterName , " " ) ; return Parameter ( _type . GetAnyProperty ( propertyName ) , currentValueParameterName , originalValueParameterName ) ; }
Configures a parameter for this stored procedure.
Configures a parameter for this stored procedure .
The same configuration instance so that multiple calls can be chained.
The same configuration instance so that multiple calls can be chained .
propertyName
string
The name of the property to configure the parameter for.
The name of the property to configure the parameter for .
currentValueParameterName
string
The current value parameter name.
The current value parameter name .
originalValueParameterName
string
The original value parameter name.
The original value parameter name .