473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Delphi's TDataSet replacement...

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.

Nov 15 '05 #1
1 3200
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?

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
"Julian Maisano" <ma********@yahoo.com> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
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.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Vibha Tripathi | last post by:
Hi Folks, I put a Regular Expression question on this list a couple days ago. I would like to rephrase my question as below: In the Python re.sub(regex, replacement, subject)...
6
by: Erva | last post by:
Hi, Is there someone who has moved from Delphi to VS.NET? I'am using Delphi currently but seriously considering to moving VS.NET. I would like to hear if someone has already done that, is it...
0
by: maxal | last post by:
Moving from Delphi to Visual Studio (C#), I cannot figure out what to use instead of DataModules. In classic Delphi database application I would create datamodule with data acces components...
0
by: Bagieta | last post by:
Hi. Does anyone of you knows any good TDataSet descendant working with DB2? I want to connect do DB2 directly without ODBC. Regards Bagieta =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= dbDeveloper...
38
by: Arjang | last post by:
http://www.codeproject.com/useritems/CSharpVersusVB.asp
5
by: Just call me James | last post by:
Hi, Coming away from the luxury of the delphi IDE has been something of a shock. As a consequence I've become aware that maybe I need to spend some money on a python IDE. As a beginner I...
1
by: Thomas Due | last post by:
Hi, I manage an rather old application in which we have some fairly complex (ugly) Delphi code. This is Delphi 6 we're talking about. Among all this Delphi code there is method for formating a...
4
by: =?Utf-8?B?ZGF2ZWJ5dGhlc2Vh?= | last post by:
Dear List, We have a large application written in Delphi. I am writing a mobile app written in .NET (C#) which reads and writes into the Delphi applications Oracle database via a .NET Web...
11
by: gnuist006 | last post by:
Is there a Delphi equivalent in the C world or Scheme/LISP world ? Recently, Delphi is in resurgence. In Russia people are using like crazy. For example, Bolega has written a free image...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.