Views

Is the only way to access views using xdata ,to write custom interfaces or is there a better way as to generate entities with ready only access to the data in aurelius ?

You can use both custom interfaces or create entities mapped to the views to retrieve data just as you would do with tables. But there is no automatic entity generator for views, you will have to create the classes manually.

I tried to write a custom interface as shown in your youtube video but execution I am getting the following error

How do I debug this ?

http://localhost:2001/tms/xdata/GetQueryResultService/GetQueryData1
{
"error": {
"code": "AccessViolation",
"message": "Access violation at address 009B2FDF in module 'TestXData.exe'. Read of address 00000000"
}
}

Just run the server from the IDE and you will be able to debug it as any other Delphi app.

Thanks. My fault. Resolved

aurelius - is not support DB Views (((

As mentioned above: 
you can create entities mapped to the views to retrieve data just as you would do with tables. But there is no automatic entity generator for views, you will have to create the classes manually.