Hi,
Does dotConnect support this as well as code-first migrations?
If so, where can I read up on it?
If not, is it coming?
Thanks ... Ed
MVC4 Scaffolding support?
Re: MVC4 Scaffolding support?
Devart Entity Model (*.edml) works with MVC4 Scaffolding in our environment.edstaffin wrote:Does dotConnect support this as well as code-first migrations?
The only issue we have encountered is described at http://social.msdn.microsoft.com/Forums ... 0558e57f1/. It can be solved via Entity Developer interface in the following ways:
1. Add the reference to the System.ComponentModel.DataAnnotations.dll assembly via Model > Settings > Model > Attributes. After this, add the Key attribute to the model and a particular EntityKey property.
2. There is another (simpler) way: set the Validation Framework property of your template to Data Annotations, save the template and regenerate the code.
You can use Devart Entity Model (*.edml) in the same way as ADO.NET Entity Data Model (*.edmx): http://www.asp.net/mvc/tutorials/hands- ... migrations. If you encounter any difficulties, please contact us.edstaffin wrote:If so, where can I read up on it?
Re: MVC4 Scaffolding support?
Thanks for the info. I'll get started right away!
Ed
Ed