简体   繁体   English

如何使用FireDAC从C ++ XE3迁移到XE7?

[英]How can I migrate from C++ XE3 to XE7 with FireDAC?

I have an app writen in C++ Bulder XE3 and now i want to upgrate to XE7. 我有一个用C ++ Bulder XE3编写的应用程序,现在我想升级到XE7。 But I use FireDAC for connection with PostgreSQL and in XE3 the connection is called ADConnection and query ADQuery and in XE7 FDConnection and FDQuery. 但是我使用FireDAC与PostgreSQL进行连接,在XE3中,该连接称为ADConnection和查询ADQuery,在XE7中,该连接称为FDConnection和FDQuery。 I what to find an easy way to do so, without rewrite everything. 我想找到一种简单的方法来做到这一点,而无需重写所有内容。 Thanks for your time. 谢谢你的时间。

In the documentation is an article that explains everything in detail what you have to do: Migrate AnyDAC to FireDAC . 在该文档中,有一篇文章详细解释了您需要做什么: 将AnyDAC迁移到FireDAC In short, there is a tool 'refind' that comes with the installer of XE7 and does the conversion for all the 'AD'-components to 'FD'-components. 简而言之,XE7的安装程序附带了一个工具“ refind”,可以将所有“ AD”组件转换为“ FD”组件。 I did this for several programs, and it works really good, almost no manual work has to be done. 我为多个程序执行了此操作,并且它的确非常好,几乎不需要手动操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM