Skip to content

Commit

Permalink
Merge branch 'main' into feat/DTOSS-6682-processCaasFile-failure-read
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnil261188 authored Jan 17, 2025
2 parents 2503b69 + e290db3 commit 11b7c78
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,9 @@ public async Task<bool> CreateParticipantEntry(ParticipantCsvRecord participantC
private bool ExecuteBulkCommand(List<SQLReturnModel> sqlCommands, Dictionary<string, object> commonParams)
{
var command = CreateCommand(commonParams);
foreach (var SqlCommand in sqlCommands)
foreach (var SqlCommand in sqlCommands.Where(SqlCommand => SqlCommand != null))
{
if (SqlCommand.Parameters != null)
{
AddParameters(SqlCommand.Parameters, command);
}
}

var transaction = BeginTransaction();
Expand Down

0 comments on commit 11b7c78

Please sign in to comment.