src/Shared/EntityFramework/Core/Objects/ObjectParameterCollection.cs
// <summary>
// Creates a new copy of the specified parameter collection containing copies of its element
// <see
//     cref="ObjectParameter" />
// s.
// If the specified argument is <c>null</c>, then <c>null</c> is returned.
// </summary>
// <param name="copyParams"> The parameter collection to copy </param>
// <returns>
// The new collection containing copies of <paramref name="copyParams" /> parameters, if
// <paramref
//     name="copyParams" />
// is non-null; otherwise <c>null</c> .
// </returns>
Creates a new copy of the specified parameter collection containing copies of its element

s.
If the specified argument is nullnull
Creates a new copy of the specified parameter collection containing copies of its element s . If the specified argument is nullnull
internal static ObjectParameterCollection DeepCopy(ObjectParameterCollection copyParams)
        {
            if (null == copyParams)
            {
                return null;
            }
            var retParams = new ObjectParameterCollection(copyParams._perspective);
            foreach (var param in copyParams)
            {
                retParams.Add(param.ShallowCopy());
            }
            return retParams;
        }
internal static ObjectParameterCollection DeepCopy ( ObjectParameterCollection copyParams ) { if ( null == copyParams ) { return null ; } var retParams = new ObjectParameterCollection ( copyParams . _perspective ) ; foreach ( var param in copyParams ) { retParams . Add ( param . ShallowCopy ( ) ) ; } return retParams ; }
Creates a new copy of the specified parameter collection containing copies of its element
Creates a new copy of the specified parameter collection containing copies of its element
The new collection containing copies of  parameters, if


The new collection containing copies of parameters if
copyParams
ObjectParameterCollection
The parameter collection to copy
The parameter collection to copy