Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Doesn't the IDE force you to update your data generation plan if your schema changes anyway?</p> <p><a href="http://msdn.microsoft.com/en-us/library/aa833256(VS.80).aspx" rel="nofollow noreferrer">From the MSDN</a>:</p> <blockquote> <p>When you create a data generation plan in a database project, the plan is based on the database schema of the project. If you create a data generation plan and then the schema of the database project changes, you are prompted to update the plan. This behavior occurs in the following cases:</p> <ul> <li>You create a data generation plan in a database project that does not have a schema yet. You then import a schema into the database project.</li> <li>You create a data generation plan in a database project that has a schema, and then the schema changes.</li> </ul> <p>In both cases, you are prompted to update the data generation plan when you open it or when it becomes the active document. If you do not update the data generation plan based on the schema changes, you cannot continue to edit the plan. You can close and reopen the data generation plan to display the prompt again.</p> </blockquote> <p>More evidence from <a href="http://blogs.msdn.com/gertd/archive/2008/02/14/data-generation-wizard.aspx" rel="nofollow noreferrer">a blog</a> on this subject:</p> <blockquote> <p>... the schema of the objects inside the database has to match the table inside the database project.</p> </blockquote> <p>I guess you could dig into the *.dgen file and do a pre-build step (or something similar) that would ensure it always matches your DB schema. Maybe that would automate things enough.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload