Skip to content

Commit 54377b1

Browse files
committed
fix resharper
1 parent beb7124 commit 54377b1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

slo/src/Linq2db.Slo/Linq2db.Slo.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
</ItemGroup>
1616
<ItemGroup>
1717
<PackageReference Include="linq2db" Version="6.0.0-rc.3" />
18+
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="all" />
1819
</ItemGroup>
1920
</Project>

slo/src/Linq2db.Slo/SloLinq2DbContext.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Internal;
2+
using JetBrains.Annotations;
23
using Linq2db.Ydb;
34
using Linq2db.Ydb.Internal;
45
using LinqToDB;
@@ -30,7 +31,6 @@ protected override async Task Create(Linq2dbClient client, int operationTimeout)
3031
await using var db = client.Open();
3132
db.CommandTimeout = operationTimeout;
3233

33-
3434
await db.ExecuteAsync($@"
3535
CREATE TABLE `{SloTable.Name}` (
3636
Guid Uuid,
@@ -80,8 +80,9 @@ protected override async Task<int> SelectCount(Linq2dbClient client)
8080
return await db.GetTable<SloRow>().CountAsync();
8181
}
8282

83+
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
8384
[Table(SloTable.Name)]
84-
private sealed class SloRow
85+
public sealed class SloRow
8586
{
8687
[Column] public Guid Guid { get; set; }
8788
[Column] public int Id { get; set; }

0 commit comments

Comments
 (0)