File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ * Changed InvalidCastException to InvalidOperationException in YdbParameter.
2+ * Added specification tests: YdbCommandTests and YdbParameterTests.
3+ * YdbConnection.Database returns string.Empty if ConnectionStringBuilder is null.
4+ * Propagated cancellationToken in Execute[ .* ] Async methods.
5+ * When YdbCommand has an open data reader, it throws InvalidOperationException on the setters: CommandText, DbConnection.
6+ * Added checkers to YdbCommand.Prepare().
7+ * CommandText getter doesn't throw an exception if the CommandText property has not been initialized.
8+
19## v0.11.0
210* Fix bug: GetValue(int ordinal) return DBNull.Value if fetched NULL value.
311* Fix: NextResult() moves to the next result and skip the first ResultSet.
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public override string CommandText
8787 [ param: AllowNull ]
8888 set
8989 {
90- if ( _ydbConnection ? . LastReader ? . IsOpen ?? false )
90+ if ( _ydbConnection ? . IsBusy ?? false )
9191 {
9292 throw new InvalidOperationException ( "An open data reader exists for this command" ) ;
9393 }
You can’t perform that action at this time.
0 commit comments