Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Scaffolding data
 

Pages: 1
LLBLGen Pro Runtime Framework
Scaffolding data
Page:1/1 

  Print all messages in this thread  
Poster Message
Valemus
User



Location:

Joined on:
09-Jan-2018 18:06:29
Posted:
37 posts
# Posted on: 25-Feb-2019 16:32:03.  
Hello,

is there a way to create some scaffolding data to distribute together with the Create scripts?

Thanks
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14421 posts
# Posted on: 25-Feb-2019 17:53:04.  
Could you please elaborate ?

  Top
Valemus
User



Location:

Joined on:
09-Jan-2018 18:06:29
Posted:
37 posts
# Posted on: 25-Feb-2019 18:02:04.  
Walaa wrote:
Could you please elaborate ?


I mean, when I distribute my app, I also distribute the Create script generated by the designer.
I'm wondering which is the best way to distribute some default data that should be stored in a new database.
I think it would be lovely if the Create script could contain also this data.
I'm aware that Entity framework has something like that.
So, wondering if I can obtain the same thing somehow.
  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14421 posts
# Posted on: 26-Feb-2019 06:27:39.  
LLBLGen reads schema (meta data) from the database.
The generated scripts, whether Update or Create, are meant to be a starting point.
And in some cases like yours, you will need to append or modify them.


  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37186 posts
# Posted on: 26-Feb-2019 14:49:51.  
Correct, we don't generate test data. You could, if you want, create a template and generate per table insert statements, however there are also 3rd party tools which generate test data based on a schema. LLBLGen Pro at the moment doesn't do that.
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.