What must certain internal methods of TDataset do?
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 InternalAddR开发者_如何学Cecord 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
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
精彩评论