Simple COUNT

Hi, I'm new in Aurelius.

Please can anyone explain me how can I do this with Aurelius

Many thanks.

Have you checked projections?

Sorry, but I'm new in this forum.

When I ask a question, "please" post a reply and not another question.
If I ask a question is because I don't know that.
Thank you...

You can use projections like this:

Value := Manager.CreateCriteria<TmyTable>



where TmyTable would be the entity type mapped to myTable and 'idfield' would be the id field of the object. You can find more information in the help, under queries\projections

Sorry, replace SUM with COUNT in previous example