From de56f5d96039fcda6fb7e95f0b57eaa3daefec98 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Tue, 5 Apr 2016 07:47:54 +0000 Subject: [PATCH] Update wikipage Data structures creation. (Signed-off-by:jocelyn). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1530 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../data-structures-creation.wiki | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/documentation/trunk/solutions/database-access/eiffelstore/eiffelstore-tutorial/eiffelstore-generation-cluster/data-structures-creation.wiki b/documentation/trunk/solutions/database-access/eiffelstore/eiffelstore-tutorial/eiffelstore-generation-cluster/data-structures-creation.wiki index a31e166b..d28850d0 100644 --- a/documentation/trunk/solutions/database-access/eiffelstore/eiffelstore-tutorial/eiffelstore-generation-cluster/data-structures-creation.wiki +++ b/documentation/trunk/solutions/database-access/eiffelstore/eiffelstore-tutorial/eiffelstore-generation-cluster/data-structures-creation.wiki @@ -92,7 +92,7 @@ Let us take an example: | corresponding result file extract |- | :
-| companyid: DOUBLE
companyname: STRING +| companyid: DOUBLE
companyname: STRING |} Text contained in the tag 'A' is mapped to each table (or view) attribute and the resulting texts are concatenated. Let us see now the details about each tag. @@ -324,7 +324,7 @@ The wizard uses one different template for each class. ===3.1. Table classes=== For each selected database table, a class is created from the same template, mapping the database table. This template is: - + indexing description: "Class which allows EiffelStore to retrieve/store% %the content of a table row from database table " @@ -391,14 +391,14 @@ For each selected database table, a class is created from the same template, map end -- class CODES - + '''Note''': the template content can be adjusted, for instance to add comments or change the indexing. However, the fundamental template structure should not be changed to use data structures as described in the [[Data structures use|corresponding section]] . ===3.2. Description classes=== For each selected database table, a class is also created from a unique template, mapping the database table. This template is: - + indexing description: "Description of class " author: "EiffelStore Wizard" @@ -564,7 +564,7 @@ For each selected database table, a class is also created from a unique template -- Piece of associated with the description end -- class CODES_DESCRIPTION - + '''Note''': As for the table class generation, the template content can be adjusted, for instance to add comments or change the indexing. However, the fundamental template structure should not be changed. @@ -575,8 +575,8 @@ Some additional tags are directly replaced by the wizard: ===2.3.3. Access class=== -The DB_SPECIFIC_TABLES_ACCESS class is mapped to the database from the following template: - +The DB_SPECIFIC_TABLES_ACCESS class is mapped to the database from the following template: + indexing description: "Description of database tables.% %Use this class through DB_SPECIFIC_TABLES_ACCESS_USE." @@ -645,5 +645,4 @@ The DB_SPECIFIC_TABLES_ACCESS class is mapped to the database f end -- class DB_SPECIFIC_TABLES_ACCESS - - +