Hi Wagner,
There appears to be a bug in XData that prevents you from cascade deleting where you are using proxies. I have done a little test project that shows the problem, see attached. In the test I can cascade delete using Aurelius directly but when I come to do it via XData I get the error:
EXDataGetRequestException with message 'XData server request error.
Uri: http://localhost:2001/tms/multitenant/Master(1)
Status code: 500
Error Code: ArgumentOutOfRangeException
List index out of bounds (-1). TList<Entities.TDetail> is empty'
XDataCascadeDeleteTests.zip (9.9 KB)
Kind Regards
Steve