.net - Strongly typed datasets and schema changes -


I have a project that uses strongly dataset typed.

Suppose I have a database schema database used by this application in my country and I want to add a new column called "ISADemocracy" (which is the example) SQL Server Datetime BIT.

Now, how can I update the dataset properly typed, so that I can use this new area in the application?

I have tried to add columns to the country table on the dataset, gave it the type of boolean and mapped its "source" property to "icamacscari".

I can use the field in the application, I can provide a value, but the built-in questions created by the table adapters have not been updated to reflect this change. They are as follows because before I wrote this column in the dataset I wrote firmly. I expected that what I did would be enough, but it does not seem like that.

Should I re-create a strong dataset class in some way? If so, then what is the effect of this?

I can probably remove the country table in the dataset designer, and send it again with server explorer, but I have customer questions and I do not want

thanks.

  1. First of all, make sure you have a backup

    < / Li>
  2. Right click on the .xsd node in the Solution Explorer and select "Run Custom Tool"

But be careful with your custom queries Be there. They tend to disappear without warning, not always.

A good reason for filling out those questions is in the form of partial category 'main' file


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -