OCLOperators ExecutePS
(Created page with "selfVM.ExecutePS()")
 
No edit summary
Line 1: Line 1:
selfVM.ExecutePS()
selfVM.ExecutePS() is used to use the power and speed of the database to find a subset of objects of a certain type in a ViewModel.
 
In the example below the ExecutePS is used to look up License objects with ps (avoiding traversing all existing in memory).
 
The PS-evaluated expression (translated to sql and executed in DB) is defined in a ViewModelColumn of its own that is not referenced by any UI
[[File:2018-07-13 14h41 13.png|none|thumb|692x692px]]

Revision as of 12:46, 13 July 2018

selfVM.ExecutePS() is used to use the power and speed of the database to find a subset of objects of a certain type in a ViewModel.

In the example below the ExecutePS is used to look up License objects with ps (avoiding traversing all existing in memory).

The PS-evaluated expression (translated to sql and executed in DB) is defined in a ViewModelColumn of its own that is not referenced by any UI

2018-07-13 14h41 13.png
This page was edited 96 days ago on 02/10/2024. What links here