Skip to content

Commit bb4f19f

Browse files
committed
Fix compilation
1 parent c5750ee commit bb4f19f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NHibernate/AdoNet/AbstractBatcher.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Data;
4+
using System.Data.Common;
45
using System.Diagnostics;
56
using System.Threading;
67

@@ -375,7 +376,7 @@ public void CloseReader(IDataReader reader)
375376
LogDuration(duration);
376377
}
377378

378-
private Stopwatch GetReaderStopwatch(DbDataReader reader)
379+
private Stopwatch GetReaderStopwatch(IDataReader reader)
379380
{
380381
var nhReader = reader as NHybridDataReader;
381382
var actualReader = nhReader == null ? reader : nhReader.Target;

0 commit comments

Comments
 (0)