You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varcurrentDatabaseState=affected.DatabaseValue; // the current state in the database
272
272
varproposedValueFromRequest=affected.Entity; // the value from the request
@@ -288,7 +288,7 @@ public class ArticleResource : ResourceDefinition<Article>
288
288
}
289
289
}
290
290
```
291
-
In this case the `EntityDiffPair<T>.DatabaseValue` is `null`. If you try to access all database values at once (`EntityDiff.DatabaseValues`) when it they are turned off, an exception will be thrown.
291
+
In this case the `ResourceDiffPair<T>.DatabaseValue` is `null`. If you try to access all database values at once (`ResourceDiff.DatabaseValues`) when it they are turned off, an exception will be thrown.
292
292
293
293
Note that database values are turned on by default. They can be turned of globally by configuring the startup as follows:
294
294
```c#
@@ -310,7 +310,7 @@ The global setting can be used together with per-hook configuration hooks using
0 commit comments