Download and install the LINQ Library component from Forge.
In Service Studio, open your application.
Go to Manage Dependencies → add the LINQ Library public actions you need.
Publish your application.
No special configuration is required. Once the extension is installed and referenced, you can start using the provided actions in your logic flows.
The library exposes the following LINQ operations (for Record Lists or Entity Queries):
Union(ListA, ListB) → Returns all unique elements from both lists.
Intersect(ListA, ListB) → Returns elements that exist in both lists.
Except(ListA, ListB) → Returns elements that exist in the first list but not in the second.
Concat(ListA, ListB) → Appends elements of ListB to ListA (keeps duplicates).
Distinct(ListA) → Removes duplicates from the list.
Prepare two Record Lists (or a single one for Distinct).
Drag the desired LINQ action (e.g., Union) into your logic flow.
Pass your lists as parameters.
Use the Output List as the result in your app logic.
UnionResult = LINQ.Union(EmployeeList, ManagerList)
Result → A Record List containing all unique employees and managers.
CleanList = LINQ.Distinct(AllDepartments)
Result → A Record List with duplicates removed.
All functions are based on the .NET Framework LINQ engine for performance.
Works in Reactive Web, Traditional Web, and Mobile apps.
Always ensure your input lists are of the same type/structure when using Union, Intersect, Except, or Concat.
If you only need to filter or map simple lists, prefer native OutSystems functions; use this library for more advanced set operations.
The asset includes a demo module that shows examples of each operation (Union, Intersect, Except, Concat, Distinct) in action. Install it together with the library to explore real use cases and copy patterns into your own apps.