views:

93

answers:

1

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.

+1  A: 

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

flarebear