Skip to content

Commit 1dce7c7

Browse files
committed
fix readme
1 parent 236af58 commit 1dce7c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ property name and the value is a `PropertyConverter`, which specifies how to con
142142

143143
```c#
144144
var propertyConverters = new PropertyConverters<Car> {
145-
[nameof(car.ReleaseDate)] =
145+
[nameof(Car.ReleaseDate)] =
146146
new PropertyConverter<Car>(x =>
147147
new EntityProperty(car.ReleaseDate.ToString("yyyy-M-d")),
148148
(c,p) =>c.ReleaseDate = DateTime.Parse(p.StringValue)

src/TableStorage.Abstractions.UnitTests/EntityConvertTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ public void convert_to_entity_table_custom_serialized_property()
532532
};
533533

534534
var propertyConverters = new PropertyConverters<Car> {
535-
[nameof(car.ReleaseDate)] =
535+
[nameof(Car.ReleaseDate)] =
536536
new PropertyConverter<Car>(x =>
537537
new EntityProperty(car.ReleaseDate.ToString("yyyy-M-d")),
538538
(c,p) =>c.ReleaseDate = DateTime.Parse(p.StringValue)

0 commit comments

Comments
 (0)