© John Kouraklis 2019
John KouraklisIntroducing Delphi ORMhttps://doi.org/10.1007/978-1-4842-5013-6_5

5. Querying the Database

John Kouraklis1 
(1)
London, UK
 

Our application is now capable of providing the basic management of the database entities. We can add, edit, and delete agents and departments, and our database is populated with a list of calls. Let us move on further and allow Aurelius to provide us with some useful information from the database.

Listings

In both Departments and Agents tabs, there is a grid at the bottom of the forms with information about the calls. You can find the code we use in this chapter in the Call Centre – Listings folder.

Departments

The grid shows data filtered by the Department or the Agent. In order to do this, you ...

Get Introducing Delphi ORM: Object Relational Mapping Using TMS Aurelius now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.