src/Shared/EntityFramework/ModelConfiguration/Configuration/Functions/ConventionInsertModificationStoredProcedureConfiguration.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="parameterName">The name of the parameter.</param>
Configures a parameter for this stored procedure.
Configures a parameter for this stored procedure .
public ConventionInsertModificationStoredProcedureConfiguration Parameter(
            PropertyInfo propertyInfo, string parameterName)
        {
            Check.NotEmpty(parameterName, "parameterName");
            if (propertyInfo != null)
            {
                Configuration.Parameter(new PropertyPath(propertyInfo), parameterName);
            }
            return this;
        }
public ConventionInsertModificationStoredProcedureConfiguration Parameter ( PropertyInfo propertyInfo , string parameterName ) { Check . NotEmpty ( parameterName , " " ) ; if ( propertyInfo != null ) { Configuration . Parameter ( new PropertyPath ( propertyInfo ) , parameterName ) ; } 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 .
parameterName
string
The name of the parameter.
The name of the parameter .