Sure, easiest test that I can think of right now is to use the demo that comes with Aurelius.
I'm using Delphi 12.1 Patch 1, and all latest (per today) TMS BIZ components.
Please open the ..\TMS Aurelius\Demos\Music Library\MusicLibraryVCL.dproj demo project.
Open the View.Albuns.pas file and change the existing code line (Linenumber 84)
Criteria := FManager.Find<TAlbum>.OrderBy('Name');
...with this:
Criteria := FManager.Find<TAlbum>.OrderBy('Name')
.SubCriteria('Artist')
.Where(Linq['Name'] <> 'Just ignore');
Run application and see that it apparently works as expected, but when exiting the application an error is raised (Unexpected Memory Leak).
An unexpected memory leak has occurred. The unexpected small block leaks are:
13 - 20 bytes: TOrder x 1
21 - 28 bytes: UnicodeString x 1, Unknown x 2
37 - 44 bytes: TList<System.string> x 1
45 - 52 bytes: TObjectList<Aurelius.Criteria.Base.TCustomCriterion> x 1, TObjectList<Aurelius.Criteria.Base.TOrder> x 1, TObjectList<Aurelius.Criteria.Base.TSubCriteria> x 1
61 - 68 bytes: TCriteria<MusicEntities.TAlbum> x 1