Beispiel #1
0
 public Task SaveOrUpdateWorkItems(IReadOnlyCollection <WorkItem> items)
 {
     if (items.Any())
     {
         var options = _queryProvider.SaveOrUpdateWorkItemsOptions(items);
         using var command = CreateCommandWithParameters(options.Item1, options.Item2);
         command.ExecuteScalar();
     }
     return(Task.CompletedTask);
 }