Bug #32081 | TableAdapter does not update schema properly if database columns are deleted | ||
---|---|---|---|
Submitted: | 3 Nov 2007 22:14 | Modified: | 10 Jul 2008 21:31 |
Reporter: | Morgan Soley | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 5.1.4GA | OS: | Windows (XP) |
Assigned to: | CPU Architecture: | Any | |
Tags: | TableAdapter, XSD |
[3 Nov 2007 22:14]
Morgan Soley
[5 Mar 2008 9:40]
Tonci Grgin
Hi Morgan and thanks for your report. Verified just as described, "ghost" field is even present in "Data preview" window.
[5 Mar 2008 10:06]
Tonci Grgin
Morgan, you do not have to hide non-sensitive comments, they might help others. So, if you wish, please unhide it. Now for your questions: - ...manually create a keyPair.snk file... Please make a note of AssemblyInfo.cs file and make necessary adjustments: // // In order to sign your assembly you must specify a key to use. Refer to the // Microsoft .NET Framework documentation for more information on assembly signing. // // Use the attributes below to control which key is used for signing. // // Notes: // (*) If no key is specified, the assembly is not signed. // (*) KeyName refers to a key that has been installed in the Crypto Service // Provider (CSP) on your machine. KeyFile refers to a file which contains // a key. // (*) If the KeyFile and the KeyName values are both specified, the // following processing occurs: // (1) If the KeyName can be found in the CSP, that key is used. // (2) If the KeyName does not exist and the KeyFile does exist, the key // in the KeyFile is installed into the CSP and used. // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. // When specifying the KeyFile, the location of the KeyFile should be // relative to the project output directory which is // %Project Directory%\obj\<configuration>. For example, if your KeyFile is // located in the project directory, you would specify the AssemblyKeyFile // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework // documentation for more information on this. // [assembly: AssemblyDelaySign(false)] #if FINAL && !NET20 [assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("ConnectorNet")] #endif - ...It wasn't clear that I had to download Visual Studio SDK... Don't know answer to this one, never built VS plug-in myself... Maybe I should try. Anyway, my path would be "C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration". Afais, it's needed for creating installation package.
[10 Jul 2008 21:31]
Reggie Burnett
This is not a bug. This is handled by the VS table adapter configuration system, not us. And SQL Server behaves exactly the same way. I tested it with VS 2008.