src/Shared/EntityFramework/Core/EntityClient/EntityParameterCollection.cs
/// <summary>
/// Adds a value to the end of the <see cref="T:System.Data.Entity.Core.EntityClient.EntityParameterCollection" />.
/// </summary>
/// <returns>
/// A <see cref="T:System.Data.Entity.Core.EntityClient.EntityParameter" /> object.
/// </returns>
/// <param name="parameterName">The name of the parameter.</param>
/// <param name="value">The value to be added.</param>
Adds a value to the end of the .
Adds a value to the end of the .
public EntityParameter AddWithValue(string parameterName, object value)
        {
            var param = new EntityParameter();
            param.ParameterName = parameterName;
            param.Value = value;
            return Add(param);
        }
public EntityParameter AddWithValue ( string parameterName , object value ) { var param = new EntityParameter ( ) ; param . ParameterName = parameterName ; param . Value = value ; return Add ( param ) ; }
Adds a value to the end of the .
Adds a value to the end of the .
None
parameterName
string
The name of the parameter.
The name of the parameter .
value
object
The value to be added.
The value to be added .