Home > Archive > MS SQL Server Security Tools > June 2005 > Re: Application Role









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Application Role
David Crone

2005-06-09, 11:23 am

Hi Ross

All was going fine, and looked like transfer was relatively painlessly -
BUT Have hit a bit of a snag - Have got it all running under one
Connection, but in my 3-tier Collection / Stateful class architecture I
use DataReaders instead of Datasets.

The problem arises because it seems I cannot have more than 1 Datareader
open at one time...which means that using Datareaders and a
Single-Connection structure, I can never have an Object that contains
instances of other Objects; as when I do a GetAll for example, while its
reading the data from my DataReader into my Collection, if it has to
load some other data to put into my Stateful class, it needs another
DataReader, but thats not possible because I'm still busy reading data
from the first one!!

What is the 'Correct' way to build in Application Role support if you
use Datareaders?? Not a chance can I shift over to Datasets at this
stage!!

Any ideas?

Thanks in advance
David Crone



*** Sent via Developersdex http://www.droptable.com ***
David Crone

2005-06-24, 7:23 am

Can anyone help with this issue?

Please, am really stuck...



*** Sent via Developersdex http://www.droptable.com ***
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com