[英]What must certain internal methods of TDataset do?
I'm currently subclassing TDataset for my job. 我目前正在为我的工作子类化TDataset。 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? 我目前想知道InternalInsert和InternalAddRecord应该做什么?
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. tiOPF框架(OR映射器)具有一种将对象列表用作数据集的方法。 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 可在以下位置找到其TtiCustomDataset(从TDataset子类化)的源: http ://tiopf.svn.sourceforge.net/viewvc/tiopf/tiOPF2/Trunk/Options/tiDataset.pas?revision=1544&view=markup
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.