Skip to content

Commit a454d0b

Browse files
committed
Updating readme
1 parent cd3a0af commit a454d0b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
# Dapper.Testability.Adapters
22

3+
## Basic Usage
4+
5+
Create a connection adapter
6+
7+
```csharp
8+
9+
var connectionAdapter = new ConnectionAdapter(new SqlConnection(connectionString));
10+
11+
```
12+
Execute Dapper queries and sql commands normally
13+
14+
```
15+
16+
var person = await connectionAdapter.QueryAsync<Person>(sql, new {Id});
17+
18+
```

0 commit comments

Comments
 (0)