This is a similar problem to this question
When I deployed my dev app to the prod server I was getting an error:
System.Data.SqlClient.SqlException: Invalid object name 'dbo.Login'.
The table attribute on the linq mapping looks like [Table(Name="dbo.Login")]
When I loaded the prod db schema into the vs2008 server explorer and refreshed my dbml entirely with that one, the application on prod works, but now the application on dev does not work.
The table attribute on the linq mapping now looks like [Table(Name="prodDbUsername.Login")]
On the dev server I now get
System.Data.SqlClient.SqlException: Invalid object name 'prodDbUsername.Login'.
What is the best way to manage these different user prefixes between dev and prod?