2

I have changed my dbml file like this.

  • I have deleted all the tables and stored procs.
  • I added new tables and stored procs from a new database.

In the code-behind, I can access the new tables and stored procs. However, in the LinqDataSource using the same dbContext when I'm trying to configure the LinqDataSource. I can see all the old tables in the wizard drop-down.

How to refresh the the wizard drop-down so that I can select the newly added tables?

Deleting the old LinqDataSourceand adding a new one is not working.

p.campbell
  • 98,673
  • 67
  • 256
  • 322
  • Did you ever get a fix for this, I'm facing exactly the same problem having tried the same things. – Rob Jun 24 '10 at 06:57

1 Answers1

3

After creating your new dbml, rebuild the solution. The tables should be shown in the wizard then.

flarebear
  • 123
  • 8