unit UnitdatamoduleDB;

interface

uses
  System.SysUtils, VCL.Dialogs,
  System.Classes, Data.DB,
  Data.FMTBcd, Datasnap.DBClient, Soap.SOAPConn, Data.SqlExpr;

type
  TdmDB = class(TDataModule)
    DataSourceSoap: TDataSource;
    SoapConnection1: TSoapConnection;
    ClientDataSetSoap: TClientDataSet;
  private
    { Private declarations }
  public
    function get_dataset_questao1: TDataSet;
    // select COUNT(CORRECAO) FROM QUESTAO1 where CORRECAO = TRUE;
  end;

var
  dmDB: TdmDB;

implementation

{%CLASSGROUP 'Vcl.Controls.TControl'}

{$R *.dfm}

function TdmDB.get_dataset_questao1: TDataSet;

begin
  Result:= ClientDataSetSoap;
end;

end.
