I have an entity with some read only properties like:
TSomeEntity = class
public
[XDataProperty]
property SomeProperty: string read GetSomeProperty;
end;
When trying to get a list of this entity with TXDataClient I get an EPropReadOnly exception.
var
MyList: TList<TSomeEntity>;
begin
MyList := XDataClient.List<TSomeEntity>('SomeQuery'); // <<== EPropReadOnly with message 'SomeProperty'