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:
- installed entity framework power tools.
- generated application (empty mvc4) in visual studio 2012.
- added database (i need use sqlce).
- right-clicked root project folder , selected
entity framework > reverse engineer code first
. - when connection properties window pops changed datasource type 'microsoft sql server compact 4.0.
- browse project app_data folder , select sqlce database.
- 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
Post a Comment