src/Shared/EntityFramework/Core/Objects/ObjectParameterCollection.cs
/// <summary>
/// Determines whether an <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> with the specified name is in the collection.
/// </summary>
/// <returns>Returns true if a parameter with the specified name was found in the collection; otherwise, false.</returns>
/// <param name="name">The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name.</param>
/// <exception cref="T:System.ArgumentNullException">The  name  parameter is null.</exception>
Determines whether an  with the specified name is in the collection.
Determines whether an with the specified name is in the collection .
public bool Contains(string name)
        {
            Check.NotNull(name, "name");
            if (IndexOf(name)
                != -1)
            {
                return true;
            }
            return false;
        }
public bool Contains ( string name ) { Check . NotNull ( name , " " ) ; if ( IndexOf ( name ) != - 1 ) { return true ; } return false ; }
Determines whether an  with the specified name is in the collection.
Determines whether an with the specified name is in the collection .
Returns true if a parameter with the specified name was found in the collection; otherwise, false.
Returns true if a parameter with the specified name was found in the collection ; otherwise false .
The  name  parameter is null.
The name parameter is null .
name
string
The name of the parameter to look for in the collection. This name should not include the "@" parameter marker that is used in the Entity SQL statements, only the actual name.
The name of the parameter to look for in the collection . This name should not include the " @ " parameter marker that is used in the Entity SQL statements only the actual name .