zoukankan      html  css  js  c++  java
  • BDE 退出历史 迁移至FireDAC

    BDE组件套TQueryTTableTStoreProce结束历时使命。

    ADO组件套也停止更新,

    将来是FireDAC组件套的江湖

    Migrating BDE Applications to FireDAC

     

    Go Up to Migrating to FireDAC

    This article guides you through a series of the steps to migrate the BDE application to the FireDAC.

    Topics

    TopicDescription
    BDE Name Counterparts Most of the BDE high-level types and components have counterparts in FireDAC.
    BDE Aliases Migration FireDAC has the BDE aliases migration function.
    BDE Application Migration A step-by-step example showing how to migrate BDE application to FireDAC.
    Additional Migration Hints Few additional BDE application migration considerations.

    Introduction

    This article provides a tutorial showing how to migrate a simple client-server application using BDE data access components, such as TDatabase, TQuery, TTable, to the FireDAC. It shows the basic principles of replacing the common components, properties and code, preserving the developers working time and avoiding the common migration pitfalls.

    Overview

    In general, the FireDAC components have a high compatibility level with the BDE data access components. This includes the syntax and semantic of the properties and methods in the FireDAC and BDE. But some parts are different:

    • BDE and FireDAC have components with different names  (for example, TQuery component in BDE is TFDQuery in FireDAC.)
    • BDE and FireDAC have different alias/connection definition systems. BDE stores aliases in the binary system wide file IDAPI.CFG, while FireDAC stores the connection definitions in the FDConnectionDefs.ini file.
    • Some parameters for BDE SQLLink and FireDAC drivers are different.
    • BDE and FireDAC can have different data type mapping for the same RDBMS. FireDAC follows a mapping style closely similar to the dbExpress data type mapping. However, FireDAC has powerful capabilities to adjust the data type mapping.
    • The base APIs (the BDE API and the Phys interface) are absolutely incompatible. If you have some code which directly uses the BDE API, it has to be recoded.
    • BDE and FireDAC have different query syntax and capabilities. FireDAC offers the Local SQL feature.

    This is nearly all that needs to be changed at the migration from BDE to FireDAC. After the migration (or in parallel with it), you should consider reviewing your application for:

    • Using the extended FireDAC functionality to simplify your application.
    • Using the extended FireDAC functionality to extend the functionality of your application.
    • Using the FireDAC options to fine-tune your application and speed it up.

    Berlin 版BDE升级FireDAC的工具

    http://community.embarcadero.com/blogs?view=entry&id=8594

    需要BDE控件的话,可以安装

    1)30522_bde_installer_for_rad_studio_delphi_c_builder_10.1_berlin 2016-04-21

    BDEInstall.exe

    2)Add Package

    IDE/Component/Install Packages/Add、dclbdexxx.bpl

     D:Program Files (x86)EmbarcaderoStudio19.0in

    http://support.embarcadero.com/article/44082

    tokyo 10.2.2 BDE安装

    https://cc.embarcadero.com/item/30752

  • 相关阅读:
    VS2005中Ajax控件作用说明
    DevExpress 2.0 GridControl 使用方法
    主机信息
    sql2005中运用一条sql语句完成数据导出到Excel中
    跟我学做c#皮肤美化
    (转)QT事件传递与事件过滤器
    (转)主成分分析(Principal components analysis)最大方差解释
    这是填充首页的
    (转)C++中extern “C”含义深层探索
    (转)如何配置Qt使用VS2010进行开发
  • 原文地址:https://www.cnblogs.com/cb168/p/3952095.html
Copyright © 2011-2022 走看看