Should it be possible to create a filter like this:
[FilterDef('Subfilter', '{Kind.Type} <> ''A''')]
Kind is defined as Proxy<>, so it does not apply on every EntityManager.Find...
Trying this, TCriteriaSolver.InternalGetSqlExpression raises this assertion
Assert(Info <> nil, 'Could not retrieve aliased column name in criteria');
wlandgraf
(Wagner Landgraf)
2
No, that is not possible unfortunately, associations are not supported, this has been discussed here: