tbayart / sql-server-data-producer

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

As a user i want the inserted Keys to be added to the cache in order to use them in the generation of columns that reference them #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example:
Generate data for tables in this order
  **Customer
  **Account
  **Transaction
  **TransactionCorrection

If we want to use the foreign key from the generated Transactions, then we need 
to generate only one at a time and use the "Use identity from item #" generator.

Instead we could be generating 100 Transactions and save the generated primary 
keys from that table in the ForeignKeyCache. That way we can generate 
TransactionCorrections using the "Random Foreign Key generator" and get those 
keys just generated.

Original issue reported on code.google.com by a03pe...@gmail.com on 24 Aug 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Required for Milestone 1 (Release 1)

Original comment by a03pe...@gmail.com on 31 Oct 2012 at 1:40

GoogleCodeExporter commented 9 years ago

Original comment by a03pe...@gmail.com on 10 Dec 2012 at 10:03

GoogleCodeExporter commented 9 years ago

Original comment by a03pe...@gmail.com on 21 Dec 2012 at 1:04

GoogleCodeExporter commented 9 years ago
implemented as DataProducer and ValueStore

Original comment by m...@peterhenell.se on 26 Dec 2013 at 10:38