Reverse-Engineer SQL Server Compact Edition database using Entity Framework -


can "reverse engineer" sqlce (sql server compact edition) database using entity framework?

i've followed msdn development center tutorial code first existing database on using entity framework "reverse engineer" database can use code-first it. per tutorial i've:

  1. installed entity framework power tools.
  2. generated application (empty mvc4) in visual studio 2012.
  3. added database (i need use sqlce).
  4. right-clicked root project folder , selected entity framework > reverse engineer code first.
  5. when connection properties window pops changed datasource type 'microsoft sql server compact 4.0.
  6. browse project app_data folder , select sqlce database.
  7. test connection (success) , click ok.

then following error thrown:

system.argumentexception:  modelentitycontainername parameter '...\app_data\cesdfcontext' contains characters not valid. 

confirmed following the link provided in comment (by (thanks , credit to(erikej)) original post issue fixed in entity framework 6 release.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -