|
|
|
|
|
- Overview
- Adding a new data file
- Creating a new data file
- Importing a preset description of data file
- Color for the descriptions of data files
- Security of an HFSQL data file
Analysis: Description of data file structure
The analysis allows you to define the structure of data files used by the project. You can describe in the analysis: Note To modify the description of a data file or its fields: - Select the data file in the data model editor.
- Select one of the following options in the context menu:
- "Data file description".
- "Description of items".
Reminder In a WINDEV, WEBDEV or WINDEV Mobile application, the terms "MLD" and "Analyse" are used interchangeably to define the structure of the database associated with a project. Creating a new data file To create a new data file: - On the "Análisis" tab, in the "Creación" group, click "Nuevo archivo". The data file creation wizard starts.
- Select "Create a new data file description". Go to the next step.
- Specify:
- the logical file name. This name will be used to handle the data file.
- the caption that briefly describes the file subject.
- the representation of a record in the data file. This representation makes the questions asked when describing the links easier to understand. This option must be preceded by an indefinite article (A or AN).
- whether the data file includes an "Automatic identifier" item. The value of this item is unique for each record and it is automatically calculated by the HFSQL engine.
You can use: - an 8-byte ID. This type of identifier is mandatory for the replication of HFSQL servers.
- a 4-byte ID.
- an automatic UUID (128 bits). In this case, the identifier of each record corresponds to a 128-bit UUID (the UUID provides a unique non-sequential identifier).
- an automatic UUID (256 bits). In this case, the identifier of each record corresponds to a 256-bit UUID (the UUID provides a unique non-sequential identifier).
- In the next step, specify the type of database associated with the data file. Depending on the type selected, this data file will be handled by the HFSQL engine, an OLE DB driver or a Native Connector (SQL Server, Oracle, etc.).
If you are using a database other than HFSQL Classic (Network or Single-user), the wizard asks for the database connection characteristics. - The new data file becomes the current data file. The description window of the data file items opens automatically. It allows you to describe the file items.
Importing a preset description of data file To import a preset file description: - On the "Análisis" tab, in the "Creación" group, click "Nuevo archivo". The data file creation wizard starts.
- Select the option "Select a preset data file description".
- Choose the preset data file(s) to create. The wizard also proposes associated data files that can be added as links.
- For each data file, select the items to keep. These items can be modified later.
- The preset data files are automatically inserted into the current analysis. The links between preset files are automatically established.
Color for the descriptions of data files The following colors are used to quickly identify the types of data files in the data model editor: - Blue for the data files coming from a Native Connector.
- Orange for HFSQL Client/Server data files.
- Brown for HFSQL Classic data files.
- Green for ODBC data files.
- Gray for Hyper File 5.5 data files.
Security of an HFSQL data file To ensure the security of an HFSQL data file: - Display the file description:
- Select the data file in the data model editor.
- In the context menu, select "Data file description".
- In the "Details" tab:
- Enable encryption of data files, indexes, memos, etc. Several encryption modes are available. The "Automatic (RC5 16 rounds if password)" option is selected by default when a data file is created. This option automatically encrypts the data file if a password is set on the data file with the HPass function.
- Enable the "Seguridad reforzada " option.
Note: By default, this option is selected when creating a data file. This option allows you to request the password at each automatic modification of the data file.
- Generate the analysis: under the "Análisis" pane, in the "Análisis" group, pull down "Generación" and select "Generate". For more details, see Generating an analysis.
- Specify a password for the data file with HPass.
- Encrypt the connection to the database in the connections described in the analysis, or programmatically with the Encryption property.
Note AES encryption (128-bit, 192-bit and 256-bit AES encryption algorithm with OFB operation mode): - If the data file uses AES encryption, it is necessary to use the same encryption method for memos and indexes.
- If AES encryption is used, the "Seguridad reforzada " option is automatically applied.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|