Getting Error on Scaffolding with Devart Entity Model

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
brunosilva
Posts: 3
Joined: Fri 22 May 2015 19:05

Getting Error on Scaffolding with Devart Entity Model

Post by brunosilva » Fri 22 May 2015 20:37

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?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Getting Error on Scaffolding with Devart Entity Model

Post by Shalex » Mon 25 May 2015 12:56

Please use the DbContext template (instead of default EntityObject) in Devart Entity Model like described at http://forums.devart.com/viewtopic.php? ... 23#p104619.

brunosilva
Posts: 3
Joined: Fri 22 May 2015 19:05

Re: Getting Error on Scaffolding with Devart Entity Model

Post by brunosilva » Mon 25 May 2015 16:47

Thanks, it works! :D :D :D

Post Reply