I created a dataset from an access db and developed app. Database structure changed- how can i update my dataset w/o starting from scratch?
Posted on 2008-02-02
I developed an application around a simple Access database. Then, one of the database table names changed.
How do I go about updating the dataset classes and table adapters i'm using through out my code?
Could someone point me in the right direction for how you're supposed to go about updating the "dataSet" classes that were automatically generated for me using the Visual Studio Data Source.
I attempted to change all the strings i could find of the `OldTableName` with the `NewTableName` in the dataset.designer.cs files (which is technically a no no since it's an auto generated file) but i still get Ole exceptions stating the old table name cannot be found.
The tableAdapter's aren't updated when a table name is changed... is what i've gathered. Is there any type of refactoring support?
Perhaps there is a way of making some type of alias table name in MS Access?