Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit a7d4207

Browse files
Fixed UpdateOnly example (#111)
UpdateOnlyFields doesn't accept a dictionary
1 parent 80cc5df commit a7d4207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ormlite/apis/update.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ var updateFields = new Dictionary<string,object> {
137137
[nameof(Person.FirstName)] = "JJ",
138138
};
139139

140-
db.UpdateOnlyFields<Person>(updateFields, p => p.LastName == "Hendrix");
140+
db.UpdateOnly<Person>(updateFields, p => p.LastName == "Hendrix");
141141
```
142142

143143
Using a typed SQL Expression:

0 commit comments

Comments
 (0)