Generating and building a .NET DataStore project

Parse DataWindows () will parse the DataWindow objects only. You can use this tool to quickly parse the selected DataWindow objects, especially, the failed DataWindows. You should not export the models or generate & build project, until the selected DataWindows all have a successful parsing result.

Export Models () will parse DataWindows and generate C# solution, project, and models. You can use this tool to convert the selected DataWindow objects to C# models, refresh the existing models in the project, or add new models to the project.

Generate & Build Project () will parse the selected DataWindow objects, generate the C# solution, project, models, services, and controllers, and build the C# project.

To parse DataWindows:

If some DataWindows failed to parse, you can make changes to these DataWindows and then parse them again to quickly find out if that corrects the error.

  1. Close any anti-virus tool on the development machine.

  2. Select the DataWindow objects in the project painter > Converter page that you want to parse (by default all DataWindow objects are selected).

  3. Select a database connection from the Database profile list on the Converter page.

  4. Click the Parse DataWindows button in the toolbar.

To export models:

If you have changed some DataWindows, or added new DataWindows, you can export and update/add models to the existing project.

  1. Close any anti-virus tool on the development machine.

  2. Select the DataWindow objects in the project painter > Converter page that you want to generate models (by default all DataWindow objects are selected).

  3. Select a database connection from the Database profile list on the Converter page.

  4. Click the Export Models button in the toolbar.

    A C# solution is generated under the specified location (by default C:\Users\[username]\[projectname]). The C# solution will contain a C# project and models.

To generate and build a .NET DataStore project:

If you want to not only parse DataWindows and export models, but also generate a complete C# project (including the services and controllers), you should do the following:

  1. Close any anti-virus tool on the development machine.

  2. Select the DataWindow objects in the project painter > Converter page that you want to generate models, services and controllers (by default all DataWindow objects are selected).

  3. Select a database connection from the Database profile list on the Converter page.

  4. Click the Generate & Build Project button in the toolbar, or right-click the .NET DataStore project in the System Tree and then select Generate & Build Project.

    A C# solution is generated under the specified location (by default C:\Users\[username]\[projectname]). The C# solution will contain a C# project, models, services, and controllers.