Database Changes - how to update DBML
-
I've added a column to my SQL Server database. How do I get the existing .dbml's to recognize the new column in my project? Is there a way to refresh? Or is it delete and add again? Or is it manual changes to the code? Many Thanks!
-
I've added a column to my SQL Server database. How do I get the existing .dbml's to recognize the new column in my project? Is there a way to refresh? Or is it delete and add again? Or is it manual changes to the code? Many Thanks!
Hope this'll help, http://social.msdn.microsoft.com/Forums/en-US/linqprojectgeneral/thread/f032d242-6dfa-4a99-8368-b3a0e3393679[^] :)
Arun Jacob http://codepronet.blogspot.com/
-
Hope this'll help, http://social.msdn.microsoft.com/Forums/en-US/linqprojectgeneral/thread/f032d242-6dfa-4a99-8368-b3a0e3393679[^] :)
Arun Jacob http://codepronet.blogspot.com/
Spot on! Thanks for the link.
-
I've added a column to my SQL Server database. How do I get the existing .dbml's to recognize the new column in my project? Is there a way to refresh? Or is it delete and add again? Or is it manual changes to the code? Many Thanks!
If you change your table in the database you should delete the corresponding table from dbml file and add it again and the dbml file regenerate again after refreshing the server connection, so your changes take effect.
Thanks and Regards Sujit Kr. Mandal Software Engineer