LinqDataSource wizard table list is not updated after updating LinqToSql classes

I changed my dbml file as follows.

  • I deleted all tables and kept the procs.
  • I added new tables and saved procs from the new database.

In code, I can access new tables and saved processes. However, in LinqDataSource

using the same dbContext when I try to configure LinqDataSource

. I can see all the old tables in the wizard dropdown.

How do I update the wizard dropdown so that I can select the newly added tables?

Removing the old one LinqDataSource

and adding the new one doesn't work.

+2


source to share


1 answer


After creating a new dbml, rebuild the solution. Then the tables should be displayed in the wizard.



+3


source







All Articles