PeterHenell / sql-server-data-producer

Automatically exported from code.google.com/p/sql-server-data-producer
0 stars 1 forks source link

As a user i want the foreign keys be set AUTOMATICALLY to use the "Identity from previous item" generator and have the parameter point to the correct item as soon as i add it to the list #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When i add a second item to the list that have a foreign key to an item already 
in the list then
*** Automatically set the generator to "Identity from previous item"
*** Automatically set the "Item #" parameter to that previous item.
*** If several columns reference several other tables then set all of those 
columns this way.

If the new item is referencing another table that exist twice in the list, then 
use the most recent item (e.i the one with the highest Order-number)

Original issue reported on code.google.com by a03pe...@gmail.com on 20 Dec 2012 at 1:19