From an architectural perspective, I'm with Bruce on this one.
You may end up killing scaleabilty of your solution if you pass DataReaders
to your client.
General advice is to avoid 1 database connection per client if at all
possible.
Below are a couple of good MSDN articles covering best practices.
Designing Data Tier Components and Passing Data Through Tiers:
http://msdn.microsoft.com/library/de...tml/BOAGag.asp
..NET Data Access Architecture Guide:
http://msdn.microsoft.com/library/de.../html/daag.asp
"Guadala Harry" <> wrote in message
news:e6Oe0OB%...
> I'm trying to design all of my data access logic into one centralized
> assembly. I'm wondering how to implement DataReaders.
> There's plenty of documentation on passing DataSets to the client from the
> middle tier... but what about DataReaders? Do I have to bypass the
> centralized data access assembly when I want to use DataReaders?
>
> Thanks.
>
>