Page 1 of 1

Automatically add created complexTypes to diagram?

Posted: Tue 18 Feb 2020 11:42
by mrmiagi0101
Hi,

is there a way to automatically add autogenerated ComplexTypes (e.g. created by adding a method/StoredPrcoedure) to the diagram? Acutally I have to manually add the complex types to the diagram from the model explorer window after they were created.
Maybe something I can set in the template?

Thanks,
Mark

Re: Automatically add created complexTypes to diagram?

Posted: Tue 25 Feb 2020 17:30
by Shalex
You are adding a stored procedure via Create Model Wizard / Update From Database, aren't you? We will consider changing default behavior or adding the new option.

As a workaround, add your stored procedures to the model by drag&drop'ing them from Database Explorer to the diagram. This will add autogenerated complex types to the diagram automatically.

Re: Automatically add created complexTypes to diagram?

Posted: Tue 10 Mar 2020 05:43
by mrmiagi0101
Yes I know, but adding the sp per drag&drop it is much slower then doing it per update (We have very huge DB with thousands of tables/sps)? Also the Messagebox with "destroying your database" and the dialog for the params you can fill in optionally are very annoying! Is it possible to disable the messagebox and the params dialog with drag&drop somehow?
Maybe you could build this into EntityDeveloper? Because drag&drop would be the best way to do it, but not with these dialogs popup everytime.

Thanks.

Re: Automatically add created complexTypes to diagram?

Posted: Tue 10 Mar 2020 20:05
by Shalex
mrmiagi0101 wrote: Tue 10 Mar 2020 05:43Also the Messagebox with "destroying your database" and the dialog for the params you can fill in optionally are very annoying! Is it possible to disable the messagebox and the params dialog with drag&drop somehow?
We will consider adding such an option as well and notify you about the result.

Re: Automatically add created complexTypes to diagram?

Posted: Fri 29 May 2020 11:02
by mrmiagi0101
Any new infos here?

Re: Automatically add created complexTypes to diagram?

Posted: Fri 05 Jun 2020 20:18
by Shalex
The new public build of Entity Developer will include the following improvements:
  • The behavior is changed: only one confirmation for executing stored procedure is requested by Entity Developer when drag&drop-ing procedure from Database Explorer to Model Explorer or diagram surface
  • The new option "Execute procedures for result set detection" is added to Model Settings of EF Core Model to control obtaining metadata of a procedure or function result set
  • The new option "Use NULL parameter values" is added to Model Settings of EF Core Model to specify whether NULL parameter values are used for stored procedure execution
  • The new option "Add complex types to diagram" is added to Model Settings of EF Core Model to control behavior of Create Model Wizard and Update Model From Database Wizard
  • The new option "Add new complex types to the current diagram" is added to Update Model From Database Wizard of EF Core Model

Re: Automatically add created complexTypes to diagram?

Posted: Wed 10 Jun 2020 09:22
by mrmiagi0101
This sounds great.

Is there a release date for new version?

Re: Automatically add created complexTypes to diagram?

Posted: Fri 12 Jun 2020 08:47
by Shalex
We are planning to release the new public builds next week.

Re: Automatically add created complexTypes to diagram?

Posted: Sat 20 Jun 2020 19:08
by Shalex
Entity Developer v6.7.965 is released: viewtopic.php?f=32&t=41293.