When a linked model is specified to be Session Singleton, only one instance of this model is created for a given session.
Other linked models can share this instance if they reference the same model name. For example, if model A
and model B
link in model C
, there is only one instance of model C
created for a given session.
Because there is only one instance of model C
and there is a reference to it in the requester's session, links in the pages of model C
can point directly back to itself for internal actions. For example, if HomePage
contained a link back to the model doWork
method, the link looks like this:
Parent topic: Linked models: wpf7