Visual Studio忽略Visual Studio(C#)中的SQL更改 [英] Visual Studio ignoring SQL changes in Visual Studio (C#)

查看:126
本文介绍了Visual Studio忽略Visual Studio(C#)中的SQL更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio中编写一个C#应用程序。

I am writing a C# app in Visual Studio.

但是,我面对一个奇怪的问题,这让我疯狂:

However, I am facing a weird problem which is driving me mad:

由于某种原因,时间我更改表的SQL代码,并命中更新,它说更新是正确的,但是,程序并添加一些寄存器, SQL代码与以前一样

For some reason, every single time I change the SQL code of a Table, and hit Update, it says Update was correct, but, after executing the program and add some registers, the SQL code was the same as it used to be.

我一直在尝试搜索其他答案没有成功。任何提示?

I´ve been trying to search other answers without success. Any hint?

推荐答案

如果您使用键入的数据集,则必须手动更新它们。

If you are using typed datasets then you have to manually update them if you update your schema.

这篇关于Visual Studio忽略Visual Studio(C#)中的SQL更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆