I am trying to scaffold a model generated by Devart Entity Model and I am getting this error:
Error
There was an error running the selected code generator:
"Unable to retrieve metadata for 'SiviModel.contador'. The type 'SiviModel.contador' was not mapped. Check that the types has not been explicity excluded by using the Ignore method or NotMappedAttribute data anotation. Verify that the type was defined as a class, is not primitive or generic, and does not inherit from EntityObject.'
How can I fix it?
Getting Error on Scaffolding with Devart Entity Model
-
- Posts: 3
- Joined: Fri 22 May 2015 19:05
Re: Getting Error on Scaffolding with Devart Entity Model
Please use the DbContext template (instead of default EntityObject) in Devart Entity Model like described at http://forums.devart.com/viewtopic.php? ... 23#p104619.
-
- Posts: 3
- Joined: Fri 22 May 2015 19:05
Re: Getting Error on Scaffolding with Devart Entity Model
Thanks, it works!