.net - Visual Studio Data Generation Plan Schema Update -


I'm new to data generation plans in Visual Studio, but I'm making a little mistake and can not find the answer. . I modified the data schema (schematic of an NVHAR field) based on the data generated by the data generation plan (a process was broken because the field was too large), and now I want to generate new New data based on Schema

Is there a way to import the schema from the database or stay it forever and connect it all the time?

I know that I just switch the field size inside the generation plan, but this is a simple matter that will be more complex later.

:

When you make a data generation plan So, IDE forces you to update your data generation plan? A database project, this plan is based on the project's database schema. If you create a data generation plan and then change the schema of the database project, then you are asked to update the plan. This behavior occurs in the following situations:

  • You create a data generation plan in a database project that has no schema yet. You can then import a schema into the database project.
  • You create a data generation plan in a database project that has a schema, and then changes the schema.

In both cases, when you open it or an active document is called to update the data generation plan. If you do not update the data generation plan based on schema changes, then you can not continue to edit the plan. You can turn off the data generation plan again and open again to display the signal.

More evidence from this topic:

... The contents inside the schema database need to match the table within the database project.

I think you can move into * .dgen file and make pre-build steps (or something similar) that make sure that it always matches your DB schema . Maybe it will automate things fairly.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -