How can I get a dataset of in-memory objects?

青春壹個敷衍的年華 提交于 2019-12-03 12:51:46

The TAureliusDataSet included in TMS Aurelius comes very close to that.

AlexSC

Take a look at EverClassy Dataset from Inovativa at www.inovativa.com.br/public.

another one is Snap Object Dataset http://digilander.libero.it/snapobject/

DotNet4Delphi by A-Dato Scheduling Technology from the Netherlands is good for you.

Quotes:

From Torry's Delphi

Hook up any collection to your data aware controls.

DotNet4Delphi implements many .Net collection classes, including generic types like List<> and Dictionary<>. Different from their Delphi counterpart is that our generic collections also implement the non-generic interfaces (IList, IDictionary) allowing you to access your collections in multiple ways. This opens the door to use any collection as a data source for data aware controls which is exactly what the (also included) TListDataset component provides.

It targets Delphi XE and XE2.

It's an open source initiative, Delphi rocks !!!

I have found a more relevant resource and can't help sharing it! So relevant that I think it deserves a separate post rather than a mere update in my first answer.


The Dduce library for Delphi XE2-XE6 makes use of TListDataSet<...> a generic dataset component that can be used to expose a generic list as a TDataSet.

The most relevant units pertaining to the implementation of the generic dataset are:

Class hierarchy:

TDataSet <= TCustomVirtualDataset <= TListDataset <= TListDataset<T>

Yes, it inherits lots of features... my only wish is to have at my disposal a version working with a lessen requirement (Delphi XE without most of the other bells and whistles).

Look and feel:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!