DbContext Code Generation

DbContext Code Generation

Postby KW » Wed 06 Aug 2014 23:47

Is there is a tutorial how to use the Devart EF 6.x DbContext Generator?
Posts: 117
Joined: Tue 19 Feb 2008 19:12

Re: DbContext Code Generation

Postby Shalex » Thu 07 Aug 2014 05:48

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?
Devart Team
Posts: 7377
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for MySQL