MySqlCommand constructor

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 38
Joined: Tue 07 Mar 2006 17:13

MySqlCommand constructor

Post by » Mon 21 May 2007 16:08

How come the mySqlCommand construction won't accept a connection argument in the form of a connection string like the MySqlDataTable constructor will?



Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 22 May 2007 06:03

This is because MySqlCommand does not create the connection inside.

Post Reply