views:

67

answers:

1

I'm currently subclassing TDataset for my job. However the lack of documentation on the process is making this more difficult than it should be.

I'm currently wondering what InternalInsert and InternalAddRecord should do?

Also if anyone can point me to a good guide that isn't Custom Dataset or the Keeping Hold of Your Things series or Datasets without databases. That would be much appreciated

+1  A: 

The tiOPF framework (OR Mapper) has a method to use an objectlist as a dataset. They have all the methods implemented, so it might be worth ckecking out the source (it's all open source).

The source for their TtiCustomDataset (subclassed from TDataset) van be found here: http://tiopf.svn.sourceforge.net/viewvc/tiopf/tiOPF2/Trunk/Options/tiDataset.pas?revision=1544&view=markup

birger
Thanks, this code is a lot easier to read than the BDE stuff and is almost exactly what I needed :)
JPvdMerwe