SQL Server Developer Center > SQL Server Forums > SQL Server Compact > Using Sql CE with a tool that uses dbo.TableName in the generated code
Ask a questionAsk a question
 

QuestionUsing Sql CE with a tool that uses dbo.TableName in the generated code

  • Friday, August 21, 2009 12:50 AMMikeGale Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm using SQL CE to test an application that will be deployed on SQL Server. (CE is very useful for that.)

    I was originally using LinqToEntityFramework in the project but dropped that in favour of LinqToSQL (the older technology).

    During test I'm getting Table does not exist exceptions because the generated code using the dbo.TableName syntax.

    I can fix that in test by altering the generated code and everything just works.

    I guess others have faced this issue.

    What strategies work for you to use both CE and a production SQL Server database with the same code base?

All Replies