delphimvcframework/samples/simple_api_using_datasets/MainDM.pas

42 lines
674 B
ObjectPascal
Raw Normal View History

unit MainDM;
interface
uses
System.SysUtils,
System.Classes,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Error,
FireDAC.UI.Intf,
FireDAC.Phys.Intf,
FireDAC.Stan.Def,
FireDAC.Stan.Pool,
FireDAC.Stan.Async,
FireDAC.Phys,
FireDAC.Phys.PG,
FireDAC.Phys.PGDef,
FireDAC.ConsoleUI.Wait,
FireDAC.Stan.Param,
FireDAC.DatS,
FireDAC.DApt.Intf,
FireDAC.DApt,
Data.DB,
FireDAC.Comp.DataSet,
FireDAC.Comp.Client;
type
TCustomersDM = class(TDataModule)
FDConnection1: TFDConnection;
MyQuery: TFDQuery;
private
{ Private declarations }
end;
implementation
{%CLASSGROUP 'System.Classes.TPersistent'}
{$R *.dfm}
end.