Search code examples
c#.netdatabaseentity-frameworksdf

How to generate a database with the EF model and SDF database?


I'm using Visual Studio Express 2012 for Windows Desktop. I've just added an empty database (.sdf) with a model (.edmx). I've filled the model and hit the Generate Database From Model. That added a Model1.edmx.sqlce.

How can I run this file against my database? It displays as plain text...


Solution

  • Use Sql Server Compact Toolbox. Can be downloaded on CodePlex.