visual studio - Designer.cs is deleted on adding object in DBML -


In my original DBML file, there were objects in which the other server / DB had a data connection, because I changed my DB into a different server And when I remove the spproc and I'm removed from a new dbml.designer.cs, then want to drag and update my spproc I am using VS 2008 SP1, I can not reproduce all my DBLL because they have many tables, SPS etc. Using Debil Namespace does not solve my problem.

I just ran into this same problem oddly, using the solution to name any statements The place is to move to the brackets. For example, I had this (like you would normally see with the above-used statement):

  Using the system. Configuration; Namesplace BuildDashboard.Data {Partial Class Dashboard DBDTintex {...}}  

And I had to change it (with the statement using the namespace inside):

< Pre> namespace using BuildDashboard.Data {system.configuration; Partial Class Dashboard DBDTintext {...}}

Once I made this change, my designer file was no longer deleted.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -