[英]Subclassing TDataset: InternalRefresh
在Delphi中将TDataset子类化时,应该在InternalRefresh中做什么?
Fetch the data from the database again. 再次从数据库中获取数据。 The public interface to this is TDataSet.Refresh
. 对此的公共接口是TDataSet.Refresh
。
Note that TQuery
's override of this just throws an exception. 请注意, TQuery
对此的替代只会引发异常。 There's not a strict requirement to do anything useful here, if you don't care about supporting Refresh
. 如果您不关心支持Refresh
,则没有严格的要求在此做任何有用的事情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.