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
0
1. Example
View licensepublic 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 SqlCommandObject.Parameters.Remove(RemoveParameter); } // Return the removed parameter (null or otherwise) return (RemoveParameter); }