PC Review


Reply
Thread Tools Rate Thread

Are DataAdapters loading the data in connection-mode possible?

 
 
Gerald Zukrigl
Guest
Posts: n/a
 
      31st Jul 2003
Hi!

We want are having a selfwritten OODB and now we want to
allow our customers to use ADO.NET for accessing this data.
Of course some will say now, ADO.NET is not OODB-prepared,
but we've found a mapping of classes into tables. But we
are in trouble
concerning the ado.net connection modes.

For performance reasons (time and memory) we want to load
the information row by row, as it is needed, just in time.
As far as I've found information one can use an
IDataReader, but is using this possible also with datasets.

As we are holding a connection to our database
permanently, nothing speaks for a offline-dataset but the
possibility to query data by sql from the dataset itself
makes it very interesting of course.


Is there a way of createing a dataset which loads the
information just in time (when it is needed) from the
datasource?

Can you recommend a good book concerning the ADO.NET
internals?

Any other sources of information concerning this topic?


Thank you,

Gerald Zukrigl
AXAVIA Software GmbH
Linz, AUSTRIA, EUROPE

 
Reply With Quote
 
 
 
 
Kathleen Dollard
Guest
Posts: n/a
 
      1st Aug 2003
Gerald,

> Is there a way of createing a dataset which loads the
> information just in time (when it is needed) from the
> datasource?


I would not go so far as saying "No", but if someone does, I hope they write
an article on it. It is right up there between very dificult and impossible.
This is simply not what the DataSet was designed for. It was designed as a
container, and the DataReader was designed to interact with a forward only
cursor.

I think you should approach your problem which appears to be a paging
problem, a different way. Perhaps you could clarify the scenario in which
you think row by row retrieval will be faster.

--
Kathleen (MVP-VB)



"Gerald Zukrigl" <(E-Mail Removed)> wrote in message
news:07ce01c3573a$5c2a6db0$(E-Mail Removed)...
> Hi!
>
> We want are having a selfwritten OODB and now we want to
> allow our customers to use ADO.NET for accessing this data.
> Of course some will say now, ADO.NET is not OODB-prepared,
> but we've found a mapping of classes into tables. But we
> are in trouble
> concerning the ado.net connection modes.
>
> For performance reasons (time and memory) we want to load
> the information row by row, as it is needed, just in time.
> As far as I've found information one can use an
> IDataReader, but is using this possible also with datasets.
>
> As we are holding a connection to our database
> permanently, nothing speaks for a offline-dataset but the
> possibility to query data by sql from the dataset itself
> makes it very interesting of course.
>
>
> Is there a way of createing a dataset which loads the
> information just in time (when it is needed) from the
> datasource?
>
> Can you recommend a good book concerning the ADO.NET
> internals?
>
> Any other sources of information concerning this topic?
>
>
> Thank you,
>
> Gerald Zukrigl
> AXAVIA Software GmbH
> Linz, AUSTRIA, EUROPE
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
layout lags and jerks when loading for display when loading data in load event Smokey Grindle Microsoft VB .NET 0 17th Nov 2006 02:16 PM
loading gridview in edit mode with a blank row at top of data source? jobs at webdos Microsoft ASP .NET 1 12th Oct 2006 10:41 PM
Best aproach to update DataAdapters with XML-Data Adrian Microsoft ADO .NET 1 2nd Dec 2004 02:04 PM
Copy data between two dataadapters Thomas Pagel Microsoft ADO .NET 6 14th May 2004 12:21 PM
loading Dataset from one connection and insert those rows to a table from different connection Anton Sommer Microsoft ADO .NET 10 31st Mar 2004 11:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:31 AM.