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 2caad77 commit 31311f5Copy full SHA for 31311f5
slo/src/EF/SloTableContext.cs
@@ -79,9 +79,9 @@ await executeStrategy.ExecuteAsync(async () =>
79
int readTimeout
80
)
81
{
82
- // await using var dbContext = client();
83
- // await dbContext.SloEntities
84
- // .FirstAsync(table => table.Guid == select.Guid && table.Id == select.Id);
+ await using var dbContext = client();
+ await dbContext.SloEntities.FirstOrDefaultAsync(
+ table => table.Guid == select.Guid && table.Id == select.Id);
85
86
return (0, StatusCode.Success, null);
87
}
0 commit comments