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

  • 相关阅读:
    (OK) error: code model kernel does not support PIC mode
    compile android for x86_64
    内核开发的前途在什么地方,发展方向有哪些?
    SOA 与 MSA(微服务架构)
    [Android] adb命令如何获取android手机屏幕分辨率
    (2) 在 Build 系统中添加新的内容
    (1) 理解 Android Build 系统
    (OK) [solved] error
    Error while building CM 13 (KERNEL_OBJ/usr, needed by libtinyalsa_intermediates/mixer.o)
    (OK) http://www.android-x86.org
  • 原文地址:https://www.cnblogs.com/cb168/p/3952095.html
Copyright © 2011-2022 走看看