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="propertyInfo"> 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(
            PropertyInfo propertyInfo, string currentValueParameterName, string originalValueParameterName)
        {
            Check.NotEmpty(currentValueParameterName, "currentValueParameterName");
            Check.NotEmpty(originalValueParameterName, "originalValueParameterName");
            if (propertyInfo != null)
            {
                Configuration.Parameter(
                    new PropertyPath(propertyInfo),
                    currentValueParameterName,
                    originalValueParameterName);
            }
            return this;
        }
public ConventionUpdateModificationStoredProcedureConfiguration Parameter ( PropertyInfo propertyInfo , string currentValueParameterName , string originalValueParameterName ) { Check . NotEmpty ( currentValueParameterName , " " ) ; Check . NotEmpty ( originalValueParameterName , " " ) ; if ( propertyInfo != null ) { Configuration . Parameter ( new PropertyPath ( propertyInfo ) , currentValueParameterName , originalValueParameterName ) ; } return this ; }
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 .
propertyInfo
PropertyInfo
The property to configure the parameter for.
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 .