各位高手帮忙翻译一个句子,thanks!

initora 2002-02-27 12:24:33
With a bit more effort it is possible to place more work within the generic TADO_DMObject class itself, imposing a more rigid interface on descendant classes that requires less implementation. An example of this would be the ancestor class generating SQL commands dynamically, given a set of property names and values.
...全文
23 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
40Star 2002-02-27
  • 打赏
  • 举报
回复
E文!
我最烂
initora 2002-02-27
  • 打赏
  • 举报
回复
thanks!

eulb 2002-02-27
  • 打赏
  • 举报
回复
你给的段落太短了些,翻起来有点困难:(

把更多的[精密的]接口(interface)放入子类,就可以少写跟多的实现部分(implementation),并且只要用额外的少许一些工作就可以把更多工作放在通用类TADO_DMObject之中去完成。
比如,动态产生SQL命令的祖先类(是不是指TADO_DMObject?我不知道),就拥有 names 和 values属性
taber 2002-02-27
  • 打赏
  • 举报
回复
由TAdo_DMObject类自身做更多的事情是可行的,这样可以为那些要求减小实现部分的子类定义一个更严格的接口。例如,只要给定属性名称和值,动态生成sql语句就由这样的一个父类来完成。

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧