Getting Error on Scaffolding with Devart Entity Model

Getting Error on Scaffolding with Devart Entity Model

Postby 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?
brunosilva
 
Posts: 3
Joined: Fri 22 May 2015 19:05

Re: Getting Error on Scaffolding with Devart Entity Model

Postby 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?f=2&t=30123#p104619.
Shalex
Devart Team
 
Posts: 7774
Joined: Thu 14 Aug 2008 12:44

Re: Getting Error on Scaffolding with Devart Entity Model

Postby brunosilva » Mon 25 May 2015 16:47

Thanks, it works! :D :D :D
brunosilva
 
Posts: 3
Joined: Fri 22 May 2015 19:05


Return to dotConnect for PostgreSQL