Skip to content

Commit e92d4cc

Browse files
public DescribeTable for EntityFrameworkCore.Ydb
1 parent bdd7244 commit e92d4cc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/EFCore.Ydb/src/EntityFrameworkCore.Ydb.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0"/>
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.0"/>
11+
<!-- PrivateAssets="none" is set to flow the EF Core analyzer to users referencing this package https://github.com/aspnet/EntityFrameworkCore/pull/11350 -->
12+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" PrivateAssets="none"/>
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.0" PrivateAssets="none"/>
1314
</ItemGroup>
1415

1516
<ItemGroup>

src/Ydb.Sdk/src/Ado/YdbSchema.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public static Task<IReadOnlyCollection<YdbObject>> SchemaObjects(
5151
return SchemaObjects(ydbConnection, WithSuffix(database), database, cancellationToken);
5252
}
5353

54-
private static async Task<YdbTable> DescribeTable(
54+
// public for EntityFrameworkCore.Ydb
55+
public static async Task<YdbTable> DescribeTable(
5556
YdbConnection ydbConnection,
5657
string tableName,
5758
DescribeTableSettings? describeTableSettings = null

0 commit comments

Comments
 (0)