DDE Create script incorrect in Model First

Posts   
 
    
timbered
User
Posts: 48
Joined: 09-Feb-2020
# Posted on: 06-Apr-2020 04:54:18   

Using 5.6.2, ans SQL Server driver

  1. Create or load a model.
  2. Add a new Relational Model Data Storage for SQL Server.
  3. Sync the model to that DB.
  4. Select Generate Database Schema Create Script (DDL)

The first time step 4 is executed, the script is incomplete. None of the CREATE statements are there. Without making any changes in LLBLGEN, immediately do step 4 again, and the resulting script is correct.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 06-Apr-2020 09:55:04   

Hmm, you're correct! We'll investigate why this happens

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 06-Apr-2020 13:45:52   

This is a bug in the templates, which was introduced somewhere in 5.5. We'll correct this asap.

Fixed in next build, which will be available later today.

(edit) Fix is now available (Hotfix build of 5.6.3)

Frans Bouma | Lead developer LLBLGen Pro