In an application with DataSnap, I used SQLConnection :
procedure TForm1.Button1Click(Sender: TObject);
var ConectaServidor : TUClasseServidorClient;
begin
ConectaServidor := TUClasseServidorClient.Create(SQLConnection1.DBXConnection);
try
ShowMessage(ConectaServidor.mostrarTexto(Edit1.Text));
finally
ConectaServidor.Free;
end;
end;
But now I need to use FDConnection and I need to know what its parameter is equivalent to the SQLConnection DBXConnection :
ConectaServidor := TUClasseServidorClient.Create(FDConnection1.parâmetro);