The Free object can be used to release the contents of a variable.
Uses System.SysUtils.FreeAndNil
Activity properties
begin FreeAndNil(FreeAbleObject); end; |
Resulting Code
By default the entities created that are from a datasource are not available in the activity, The entities from datasources are interfaced objects by default and not available in the free object activity.
Custom entity types are available to be freed.