Multiple open DataReaders

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
adriana
Posts: 3
Joined: Fri 04 Nov 2005 22:01

Multiple open DataReaders

Post by adriana » Fri 04 Nov 2005 22:04

Will the ADO.net 2.0 provider support multiple open datareaders?

Standard OleDB/Oracle drivers support it, and the SqlClient supports it with MARS...

Thanks

Serious

Post by Serious » Tue 08 Nov 2005 08:00

This behavior does not depend on .NET Framework version, this is the restriction of MySQL Server protocol.
To use multiple open datareaders you have to set MySqlCommand.FetchAll = true. For more information about this property refer to MySQLDirect .NET documentation.

Post Reply