We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3be0ca commit f382e4bCopy full SHA for f382e4b
DevProxy.Abstractions/Data/MSGraphDb.cs
@@ -110,6 +110,8 @@ private async Task CreateDbAsync(CancellationToken cancellationToken)
110
private async Task FillDataAsync(CancellationToken cancellationToken)
111
{
112
_logger.LogInformation("Filling database...");
113
+
114
+ await using var transaction = await Connection.BeginTransactionAsync(cancellationToken);
115
116
var i = 0;
117
@@ -154,6 +156,8 @@ private async Task FillDataAsync(CancellationToken cancellationToken)
154
156
}
155
157
158
159
+ await transaction.CommitAsync(cancellationToken);
160
161
_logger.LogInformation("Inserted {EndpointCount} endpoints in the database", i);
162
163
0 commit comments