Skip to content

Commit 6ca1741

Browse files
committed
Update README.md
1 parent 05985e8 commit 6ca1741

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ dataAccessor.Insert(new Person { Name = "John Doe" });
3232
## Keeps IDbConnection behavior
3333

3434
IDataAccessor implements IDbConnection, so you can access things like the ConnectionTimeout, ConnectionString, and ConnectionState etc.
35+
36+
If you need access to the actual connection object, use GetUnderlyingConnection():
37+
38+
```csharp
39+
IDbConnection connection = dataAccessor.GetUnderlyingConnection();
40+
```

0 commit comments

Comments
 (0)