Forum:  Bugs & Issues

Thread:  DDE Create script incorrect in Model First


timbered (User)   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 (LLBLGen Pro Team)   Posted on: 06-Apr-2020 09:55:04.
Hmm, you're correct! We'll investigate why this happens


Otis (LLBLGen Pro Team)   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)