Skip to content

Commit 52b030d

Browse files
authored
Update update.md
1 parent e44e68f commit 52b030d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MyApp/_pages/ormlite/apis/update.md

Lines changed: 1 addition & 1 deletion
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)