Page 1 of 1

DbContext Code Generation

Posted: Wed 06 Aug 2014 23:47
by KW
Is there is a tutorial how to use the Devart EF 6.x DbContext Generator?

Re: DbContext Code Generation

Posted: Thu 07 Aug 2014 05:48
by Shalex
You should install dotConnect for MySQL Proffesional Edition (trial). It includes Entity Developer which can be used for creating Entity Framework models only with Oracle. After installing the provider, right click on your project > Add > New Item > Devart Entity Model. Go through the Create Model Wizard, select database objects, choose the DbContext template (instead of default EntityObject) and set its "Fluent Mapping = True" property. Select designer surface and set the Metadata Artifact Processing property of EntityContextModel to Do Not Generate Mapping Files. Save the model to generate the code.
Does this help?