Skip to content

Commit 40ecde3

Browse files
micro fixes
1 parent 77fb55c commit 40ecde3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ydb.Sdk/src/Ado/YdbCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ protected override DbConnection? DbConnection
100100
get => YdbConnection;
101101
set
102102
{
103-
if (value is YdbConnection ydbConnection)
103+
if (value is null or Ado.YdbConnection)
104104
{
105-
YdbConnection = ydbConnection;
105+
YdbConnection = (YdbConnection?)value;
106106
}
107107
else
108108
{

0 commit comments

Comments
 (0)