Action "NomeAzione" not composable. Too many path


385/5000
Resolved. Found the error

Now I would need to:

1) How do I perform a ServiceContract only with some fields from the table in json?
Is there a Linq syntax that allows us to return only some of the Entity fields?

2) How can I "hide" http access to the Entity in a REST so that only ServiceContract functions are visible (accessible)?

Thank you
  1. You can use projections:
    or you can simply create simple Delphi classes as DTO's and return them - for example, return a TList<TMySimpleObject>. But of course you will have to manually fill that list.

    2) Entity set permissions:


    If you are using TXDataServer component, check DefaultEntitySetPermissions property.