Bug #27313 Cannot instantiate MySql.Data.MySqlClient.MySqlParameterCollection
| Submitted: | 21 Mar 2007 0:38 | Modified: | 21 Mar 2007 13:49 |
|---|---|---|---|
| Reporter: | Yvan Rodrigues | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | Connector / NET | Severity: | S2 (Serious) |
| Version: | 5.0.5 | OS: | Windows (Windows XP) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Constructor, internal, MySqlParameterCollection, public | ||
[21 Mar 2007 0:38]
Yvan Rodrigues
[21 Mar 2007 12:24]
Reggie Burnett
This is not a bug. You do not need to instantiate a MySqlParameterCollection since MySqlCommand provides one for you.
[21 Mar 2007 13:49]
Yvan Rodrigues
ok, this must have changed in 5.0.3 or 5.0.4 I had built a custom commandbuilder class based on http://www.codeproject.com/cs/database/CustomCommandBuilder.asp that required instantiation.
[10 Jan 2012 1:04]
Hugo Vares
You can use: MySqlParameterCollection mpc = new MySqlCommand().Parameters;
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.