File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,10 @@ private protected NpgsqlBatch(NpgsqlDataSourceCommand command)
118118 }
119119
120120 /// <inheritdoc />
121- protected override DbBatchCommand CreateDbBatchCommand ( )
121+ protected override DbBatchCommand CreateDbBatchCommand ( ) => CreateBatchCommand ( ) ;
122+
123+ /// <inheritdoc cref="DbBatch.CreateBatchCommand"/>
124+ public new NpgsqlBatchCommand CreateBatchCommand ( )
122125 => new NpgsqlBatchCommand ( ) ;
123126
124127 /// <inheritdoc />
@@ -171,4 +174,4 @@ public override Task PrepareAsync(CancellationToken cancellationToken = default)
171174
172175 /// <inheritdoc />
173176 public override void Cancel ( ) => Command . Cancel ( ) ;
174- }
177+ }
Original file line number Diff line number Diff line change 11#nullable enable
2+ Npgsql.NpgsqlBatch.CreateBatchCommand() -> Npgsql.NpgsqlBatchCommand!
You can’t perform that action at this time.
0 commit comments