I have a problem using ICriteriaCursor when i loop on it, it does not fetch all record in my entity table but only 50.
Here is my code
procedure TAPRRHistoriqueintegrationParser.process;
var
MyCriteria: TCriteria;
Cursor: ICriteriaCursor;
trans: TaprrTransaction;
begin
inherited;
MyCriteria := manager.find;
Cursor := MyCriteria.Open;
while HistoriqueCursor.Next do
begin
trans := HistoriqueCursor.Get;
...
end;
end;
Table containing TaprrTransaction entities has mode than 80000 row. But the loop always exit after 50 occurences.
Am i doing something wrong ? I don't understand why it does not loop the entire table.
Could you Help ?
Thanks