Skip to content

Commit 22adf24

Browse files
authored
Missing curly brace from code example (#1830)
* Update Readme.md * Added additional braces * Update Readme.md
1 parent ff98f8d commit 22adf24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Ansi Strings and varchar
368368
Dapper supports varchar params, if you are executing a where clause on a varchar column using a param be sure to pass it in this way:
369369

370370
```csharp
371-
Query<Thing>("select * from Thing where Name = @Name", new {Name = new DbString { Value = "abcde", IsFixedLength = true, Length = 10, IsAnsi = true });
371+
Query<Thing>("select * from Thing where Name = @Name", new {Name = new DbString { Value = "abcde", IsFixedLength = true, Length = 10, IsAnsi = true }});
372372
```
373373

374374
On SQL Server it is crucial to use the unicode when querying unicode and ANSI when querying non unicode.

0 commit comments

Comments
 (0)