Delphi's TDataSet replacement...

J

Julian Maisano

Is there any C# class 'equivalent/replacement' for Delphi's TDataSet?

I'm just thinking to translate an application mine, but it's based in a
framework (also mine) that often uses TDataSets so I need to know if this
could be done in C# without much of pain.

To all you that don't kwnow anything about Delphi: (from the Delphi Help
File)

TDataSet is the base class for all dataset components that represent data in
rows and columns.

TDataSet encapsulates a database-engine independent set of properties,
events, and methods for working with data.

Many of the properties, events, and methods in TDataSet are abstract.
Abstract declarations are declarations without implementations. At the
TDataSet level they cannot be used or accessed. Developers must use or
derive descendants of TDataSet that declare and implement these abstract
methods. Many of the other TDataSet methods are declared and implemented in
TDataSet as virtual methods, but the implementations are merely stubs that
are reimplemented in descendants such as TClientDataSet, TADODataSet,
TINTERBASEDataSet, TMYSQLDataSet, TORACLEDataSet, TDBDataSet, TQuery,
TStoredProc, and TTable.
 
M

Miha Markic

Hi Julian,

I think that the best approach would be DataTable.
However, DataTable is always disconnected.
You are probably looking after connected stuff, aren't you?
ADO.NET is pretty much based on disconnected technology so you won't find a
usable equivalent, I presume.
Maybe you should wait for Delphi 8?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top