/// <summary> /// Removes old data for the current file from the loading area. /// </summary> private void DeleteParticipantData() { CurrentStep = this["DeleteParticipantData"]; CurrentStep.Timeout = _deleteParticipantDataTimeout; CurrentStep.Start(); CurrentStep.UpdateProgress(0, "Deleting previous file from loading area"); spRunner.DeleteParticipantData(ProviderKey, _deleteParticipantDataTimeout); CurrentStep.Finish(true); }
/// <summary> /// Removes old data for the current file from the loading area. /// </summary> private void DeleteFromLoadingArea() { CurrentStep = this["DeleteFromLoadingArea"]; CurrentStep.Timeout = _deleteParticipantDataTimeout; CurrentStep.Start(); CurrentStep.UpdateProgress(0, "Deleting previous file from loading area"); if (_fileType == "Participant") { MIStagingStoredProcedures spRunner = new MIStagingStoredProcedures(); spRunner.DeleteParticipantData(ProviderKey, _deleteParticipantDataTimeout); } CurrentStep.Finish(true); }