Automatically add created complexTypes to diagram?
-
- Posts: 23
- Joined: Tue 27 Feb 2018 13:43
Automatically add created complexTypes to diagram?
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
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?
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.
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.
-
- Posts: 23
- Joined: Tue 27 Feb 2018 13:43
Re: Automatically add created complexTypes to diagram?
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.
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?
We will consider adding such an option as well and notify you about the result.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?
-
- Posts: 23
- Joined: Tue 27 Feb 2018 13:43
Re: Automatically add created complexTypes to diagram?
Any new infos here?
Re: Automatically add created complexTypes to diagram?
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
-
- Posts: 23
- Joined: Tue 27 Feb 2018 13:43
Re: Automatically add created complexTypes to diagram?
This sounds great.
Is there a release date for new version?
Is there a release date for new version?
Re: Automatically add created complexTypes to diagram?
We are planning to release the new public builds next week.
Re: Automatically add created complexTypes to diagram?
Entity Developer v6.7.965 is released: viewtopic.php?f=32&t=41293.