Example of using the Postgres database

To accomplish the task, you need to install Postgres.

  • Next, you must create the database by running the script
FlexberryORM\Database\POSTGRES\create.sql
  • Then app.config to find section appSettings.
  • Comment out options DataServiceType and CustomizationStrings and then rename options DataServiceType_POSTGRE and CustomizationStrings_POSTGRe in DataServiceType and CustomizationStrings.
  • Change the option CustomizationStrings to correctly connect to the server and the database.
  • To run the sample to verify that it works: check the creation and loading of data objects.
Переведено сервисом «Яндекс.Переводчик» http://translate.yandex.ru