143
__?fastcall Td?ssmRemoteDataClient::TdssmRemoteDataClient(TDBXConnection *ADBXConnection, bo?ol
AI?nstanceOwner)
{
if (A?DBXConnection == NU?LL)
th?row EI?nvalidOperation("Connection ca?nnot be nil. Ma?ke su?re th?e co?nnection ha?s be?en opened.");
FD?BXConnection = AD?BXConnection;
FI?nstanceOwner = AI?nstanceOwner;
}
__?fastcall Td?ssmRemoteDataClient::~TdssmRemoteDataClient()
{
de?lete FD?SServerModuleCreateCommand;
de?lete Fq?_custom_BeforeOpenCommand;
de?lete Fq?_equipment_BeforeOpenCommand;
de?lete Fq?_equipment_maintenance_schedule_BeforeOpenCommand;
de?lete Fq?_filter_BeforeOpenCommand;
de?lete Fq?_request_BeforeDeleteCommand;
de?lete Fq?_request_BeforeOpenCommand;
de?lete Fq?_request_destinations_BeforeOpenCommand;
de?lete Fq?_request_states_BeforeOpenCommand;
de?lete Fq?_request_users_BeforeOpenCommand;
de?lete Fq?_view_user_BeforeOpenCommand;
de?lete Fq?_request_spares_BeforeOpenCommand;
de?lete Fq?_report_request_BeforeOpenCommand;
de?lete Fq?_report_workshop_BeforeOpenCommand;
de?lete Ft?_subdivision_user_list_BeforeOpenCommand;
de?lete Ft?_user_BeforePostCommand;
de?lete FG?etDateCommand;