Skip to content

Commit 8633808

Browse files
authored
Update README.md
1 parent b8727bc commit 8633808

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ And for those about to point out this can be written even shorter:
168168
tablebuilder.TypeHandlers.AddHandler<decimal>((v, _) => $"$ {v:N2}");
169169
```
170170

171+
A `TypeHandler` can also be passed to a `Column`'s constructor, in which case that `TypeHandler` is used for all values in that column.
172+
171173
### Null value handling
172174

173175
A special case is the `NullValueHandler`; by default a `null` value is formatted as an empty string. However, you may want to show `null` values as "`<NULL>`" for example. To accomplish this we simply use the built-in `NullValueHandler`:

0 commit comments

Comments
 (0)