Page 1 of 1

Getting Error on Scaffolding with Devart Entity Model

Posted: Fri 22 May 2015 20:37
by brunosilva
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?

Re: Getting Error on Scaffolding with Devart Entity Model

Posted: Mon 25 May 2015 12:56
by Shalex
Please use the DbContext template (instead of default EntityObject) in Devart Entity Model like described at http://forums.devart.com/viewtopic.php? ... 23#p104619.

Re: Getting Error on Scaffolding with Devart Entity Model

Posted: Mon 25 May 2015 16:47
by brunosilva
Thanks, it works! :D :D :D