zoukankan      html  css  js  c++  java
  • FireDac 组件说明二

    FDUpdateSQL 生成添加,删除,修改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 不同数据源之间的数据转移

           

  • 相关阅读:
    浅析data:image/png;base64的应用
    利用Audacity软件分析ctf音频隐写
    利用Audacity软件分析ctf音频隐写
    php笔记(一)php介绍及数据类型
    php笔记(一)php介绍及数据类型
    ctf学习(web题二)
    ctf学习(web题二)
    win10显示许可证即将过期,但在激活界面显示的仍是已激活问题解决
    实验吧web题:
    js各种练习
  • 原文地址:https://www.cnblogs.com/stroll/p/7138669.html
Copyright © 2011-2022 走看看