Entity Developer integrated designer code generation

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
kentatcap
Posts: 9
Joined: Tue 12 Jul 2016 15:47

Entity Developer integrated designer code generation

Post by kentatcap » Tue 09 Aug 2016 18:40

The integrated Entity Developer doesn't seem to have an option to initiate code generation or have it generate code on save. It used to I believe. It also does not write the connection string, although it does create the app.config file if it doesn't exist.

This is an EFCore model (EFML).

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Entity Developer integrated designer code generation

Post by Shalex » Mon 15 Aug 2016 18:36

kentatcap wrote:The integrated Entity Developer doesn't seem to have an option to initiate code generation or have it generate code on save.
The code should be generated on saving the *.efml model.
kentatcap wrote:It also does not write the connection string, although it does create the app.config file if it doesn't exist.
Please double click the diagram surface to open Model Settings and make sure that the "Use the following connection string from App.Config" option is turned on. Does this help?

kentatcap
Posts: 9
Joined: Tue 12 Jul 2016 15:47

Re: Entity Developer integrated designer code generation

Post by kentatcap » Mon 15 Aug 2016 22:16

Shalex wrote:The code should be generated on saving the *.efml model.
It does not. I've been using the separate stand alone to force generate the files. See below screen cap right side Solution Explorer. The DTOs is there because I have some partials, but it should have created a Classes for the entities as set in the EF Core Template and Converters folder for as set in the DTOs template.

Image
Shalex wrote:Please double click the diagram surface to open Model Settings and make sure that the "Use the following connection string from App.Config" option is turned on. Does this help?
This does not help either. See pictures above and below.

Image

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Entity Developer integrated designer code generation

Post by Shalex » Wed 17 Aug 2016 15:29

The .NET Core projects are currently not supported by Entity Developer. We will notify you when the corresponding support is implemented.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Entity Developer integrated designer code generation

Post by Shalex » Fri 26 May 2017 18:44

The .NET Core projects in Visual Studio 2017 are supported by Entity Developer: viewtopic.php?f=1&t=35436.

Post Reply