|
||
Kentico CMS uses database tables to store data. There are two API classes for each database table to manage its data - Info class and Provider class. See the example for the CMS_User table below.
Each info class is related to a database table. An info class reflects one particular entry (line) in the table. This means an info class is a data container holding data of one table entry. The properties of an info class correspond to the columns of the related table.
A provider class is used to manage data from the related table. It usually uses the related info object when manipulating with the data. A typical provider class contains methods used for getting, inserting, updating and deleting table data, together with various other methods used for further table data manipulation.