zoukankan      html  css  js  c++  java
  • 4.FireDAC组件快照 二

    TFDUpdateSQL 生成添加,删除,修改SQL语句
    TFDMetaInfoQuery 查询数据源信息
    TFDEventAlerter

    负责处理数据库事件通知

    使用TFDEventAlerter类来处理数据库事件通知。
    FDEventAlerter1.Options.Kind := 'DBMS_ALERT';
    FDEventAlerter1.Names.Text := 'Customers';
    FDEventAlerter1.Options.Synchronize := True;
    FDEventAlerter1.Options.Timeout := 10000;
    FDEventAlerter1.OnAlter := DoAlert;
    FDEventAlerter1.OnTimeout := DoTimeout;
    FDEventAlerter1.Active := True;
    ........
     
    procedure TForm1.DoAlert(ASender: TFDCustomEventAlerter;
      const AEventName: String; const AArgument: Variant);
    begin
      if CompareText(AEventName, 'Customers') = 0 then
        qryCustomers.Refresh;
    end;
     
    procedure TForm1.DoTimeout(ASender: TObject);
    begin
      qryCustomers.Refresh;
    end;
     TFDLocalSQL  SQLite-based本地SQL引擎
     TFDGUIxErrorDialog  错误对话框
     TFDGUIxLoginDialog

     登陆对话框

    with FDGUIxLoginDialog1.VisibleItems do begin
      Clear;
      Add('Server');
      Add('User_name=Benutzer');
      Add('Password=Kennwort');
      Add('OSAuthent');
    end;
    FDConnection1.LoginDialog := FDGUIxLoginDialog1;
    FDConnection1.Connected := True;
     TFDGUIxAsyncExecuteDialog  这个对话框显示了SQL查询执行的进展
     TFDGUIxScriptDialog  这个对话框显示了一个SQL脚本执行进展
     TFDGUIxWaitCursor  数据库游标控制,这个是强行加到FireDAC应该程序中的
     TFDMoniRemoteClientLink 使用TFDMoniRemoteClientLink组件链接FDMonitor跟踪功能,应用程序和设置
    TFDMSAccessService 实现Microsoft Access数据库的创建、删除、压缩和修复服务
    TFDScript 实现SQL脚本引擎,能够执行一系列SQL查询
    TFDBatchMove 不同数据源之间的数据转移

           以上都是常用的组件,有个别本人感觉初学用不到,所以没有一一列出,有兴趣的可以个人研究。

  • 相关阅读:
    利用密钥通过ssh互访
    rsync参数及通信
    cacti 安装
    地区排名脚本 一千三百多行代码
    调用分隔符的数组。
    select case when
    jquery 设置select 默认值
    常见的分析函数
    oracle分析函数 之分组累加求和
    ORACLE的表被 另一个用户锁定,如何解除..
  • 原文地址:https://www.cnblogs.com/carcode/p/4298622.html
Copyright © 2011-2022 走看看