Here are the examples of the csharp api class System.Data.Common.DbParameterCollection.Remove(object) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: AntiSQLi
Source File: DbCommandWrapper.cs
View license
public TParameter RemoveParameter(String Name)
            // Remove only if a parameter with the given name exists
            TParameter RemoveParameter = default(TParameter);
            if (ContainsParameter(Name))
                // Save reference to the parameter
                RemoveParameter = GetParameter(Name);

                // Remove it

            // Return the removed parameter (null or otherwise)
            return (RemoveParameter);