I am developing an app with Entity Framework 4 and SQL Compact 4, using a Model First approach. I have created my EDM, and now I want to generate a SQL Compact 4.0 database
As I understand it current version of VS 2010 doesn't have support for SQL CE 4.0. It should be included in VS 2010 SP1 (currently in Beta). Check this blog post which also describes using EF Model with SQL CE 4.0 in SP1.