Ispirer Ispirer
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sqlways:users-guide:migrate-progress4gl-to-c-net [October 12, 2018, 01:43:12 PM]
alexandr.kirpichny
sqlways:users-guide:migrate-progress4gl-to-c-net [January 25, 2019, 11:50:33 AM] (current)
darya.prikhodkina
Line 5: Line 5:
 \\ \\
  
-====== How To Migrate Progress4GL to .NET Using Command Line ======+====== How To Migrate Progress 4GL to .NET Using Command Line ======
  
-To migrate Progress 4GL code to .NET technology in command line mode can be used SQLWays.exe command line tool. This tool is included in the Ispirer Migration and Modernization ToolKit as a main core tool that do the conversion between databases and applications.+To migrate Progress 4GL code to .NET technology in command line mode you can use SQLWays.exe command line tool. This tool is a part of Ispirer Migration and Modernization ToolKit and is a main core tool that performs conversion between databases and applications.
  
 ===== Registration ===== ===== Registration =====
Line 24: Line 24:
 \\ \\
 \\ \\
-Description of the used command line options: +Description of command line options: 
-   * **c:\Program Files\Ispirer\MnMTK2015\SQLWays.exe**  - path to the SQLWays.exe command line tool that will run the conversion. +   * **c:\Program Files\Ispirer\MnMTK2015\SQLWays.exe**  - path to the SQLWays.exe command line tool that will run the conversion. 
-   * **/F** – path to the source files that should be converted. +   * **/F** – path to the source files that should be converted. 
-   * **/DIR** - path to the folder where the conversion results will be saved +   * **/DIR** - path to the folder where the conversion results will be saved. 
-   * **/INI** - path to the options file (.INI file where all the options supported by Ispirer Migration And Modernization ToolKit are located) +   * **/INI** - path to the options file (.INI file where all the options supported by Ispirer Migration And Modernization ToolKit are located). 
-   * **/SOURCE** - option that defines source technology (database or application) +   * **/SOURCE** - option that defines source technology (database or application). 
-   * **/TARGET** - option that defines target technology (database or application) +   * **/TARGET** - option that defines target technology (database or application). 
-   * **/TBLDDL** - path to the Tables_DDL.sql file. This is the file with the MSSQL table definitions. This file is used by the SQLWays.exe tool in order to apply correct conversion of columns, data types and JOINS. +   * **/TBLDDL** - path to the Tables_DDL.sql file. This is the file with the MSSQL table definitions. This file is used by the SQLWays.exe tool in order to apply correct conversion of columns, data types and JOINS. 
  
 \\ \\
Line 62: Line 62:
  
  
-   * **DSN=c:\Root\**  - full path to source folder for correct coloring of call of functions from libraries.+   * **DSN=c:\Root\**  - full path to source folder for correct coloring of call of functions from libraries.
    * **REGISTRATION_NAME=** - is mandatory for your company.    * **REGISTRATION_NAME=** - is mandatory for your company.
    * **TARGET_DB=** - specifies the target database.    * **TARGET_DB=** - specifies the target database.
    * **DATA_MODEL=** - specifies the data model.    * **DATA_MODEL=** - specifies the data model.
      * **ENTITY_MODEL_NAME=** - specifies the name of your sql schema.      * **ENTITY_MODEL_NAME=** - specifies the name of your sql schema.
-     * **ENTITY_MODEL_NAMESPACE=** - to identify the name of database model.+     * **ENTITY_MODEL_NAMESPACE=** - is used to identify the name of database model.
    * **UI_TYPE=** - specifies Windows Forms technology for migration if there is any UI logic.    * **UI_TYPE=** - specifies Windows Forms technology for migration if there is any UI logic.
    * **GENERATE_CSPRJ=** - creates VS project file (but in that case Entity Model should be added manually).    * **GENERATE_CSPRJ=** - creates VS project file (but in that case Entity Model should be added manually).
    * **COMPILED_QUERIES=** - defines whether the LINQ Compiled queries should be generated.    * **COMPILED_QUERIES=** - defines whether the LINQ Compiled queries should be generated.
-   * **CONVERT_DEPEND_LIBS=** - specifies that dependent libraries should be ignored after migration of Progress 4GL procedures if libraries are not selected for migration. Please note this option doesn't not switch off the reading of all necessary information from libraries required for procedures, it means that libraries will be migrated independently.+   * **CONVERT_DEPEND_LIBS=** - specifies that dependent libraries should be ignored after migration of Progress 4GL procedures if libraries are not selected for migration. Please note that this option doesn't not switch off reading of all necessary information from libraries required for procedures, it means that libraries will be migrated independently.
    * **TEMP_TABLES_PREFIX=** - defines whether the "tt" prefix should be removed from the temporary tables.    * **TEMP_TABLES_PREFIX=** - defines whether the "tt" prefix should be removed from the temporary tables.
    * **GENERATE_TRANSACTIONSCOPE=** - generates TransactionScope for 4GL transactions.    * **GENERATE_TRANSACTIONSCOPE=** - generates TransactionScope for 4GL transactions.
    * **PROJECT_NAMESPACE=** - specifies project namespace.    * **PROJECT_NAMESPACE=** - specifies project namespace.
-   * **SAVE_4GL_QUERIES=** - allows to see source 4GL queries in comments inside the converted target code. +   * **SAVE_4GL_QUERIES=** - allows to see source 4GL queries in comments inside the converted target code. 
-   * **GENERATE_SYSTEM_PARAMETERS=** - add to constructor declarations of initial parameters.+   * **GENERATE_SYSTEM_PARAMETERS=** - add system parameters to constructor declarations of initial parameters.
    * **PARSER_PR_4GL=** - allows to parse unix escape characters.    * **PARSER_PR_4GL=** - allows to parse unix escape characters.
  
Line 83: Line 83:
 \\ \\
 Ispirer Note: Ispirer Note:
-   To use EDM model please do the following steps: +   To use EDM model please perform the following steps: 
-   1.   Create in root source directory folder “db”+   1.   Create “db” folder in root source directory 
    2.   Rename your edmx model file to “DataClasses.edmx” and place it in “db” folder    2.   Rename your edmx model file to “DataClasses.edmx” and place it in “db” folder
  
Line 92: Line 92:
 ====== ====== ====== ======
  
-If you will face with some issues or have some questions on how to migrate Progress 4GL code to .NET in command line, please contact our support team: [[[email protected]]]+If you face any issues or have any questions on how to migrate Progress 4GL code to .NET in command line, please contact our support team: [[[email protected]]]
  
  
sqlways/users-guide/migrate-progress4gl-to-c-net.1539351792.txt.gz · Last modified: October 12, 2018, 01:43:12 PM by alexandr.kirpichny
 
© 1999-2019, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement