PgDAC
Used to keep dataset opened after connection is closed.
TCustomDADataSet
property Disconnected: boolean;
Set the Disconnected property to True to keep dataset opened after connection is closed.