简体   繁体   English

TDataset的某些内部方法必须做什么?

[英]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.

相关问题 子类化TDataset:InternalRefresh - Subclassing TDataset: InternalRefresh 如果我不断收到错误怎么办:在封闭作用域中定义的局部变量 j 必须是最终的或有效的最终 - What to do if i keep getting error: Local variable j defined in an enclosing scope must be final or effectively final 在TDataset Delphi中交换两个记录的最佳方法? - Best way to swap two records in TDataset Delphi? Tdbf / tdataset在delphi中排序多个字段 - Tdbf/tdataset sorting multiple fields in delphi 如何调用某些方法并根据类类型返回某些对象 - How to call certain methods and return certain objects based on class type 下面提到的查询的内部流程是什么? - What is Internal process of below mentioned queries? 哪些 HTTP 接头与某些方法匹配? - Which HTTP headers match certain methods? 为不能为空的 MySQL 列分配什么? - What to assign for MySQL column that must not be empty? 是否有多个TDataSource引用一个TDataSet后代组件是可能且安全的? - Is it possible and safe to have multiple TDataSources reffering one TDataSet descendant component? 类方法和实例方法有什么区别[sequelize] - What is the difference between class methods and instance methods [sequelize]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM