Page 1 of 1

Show schema in Model Explorer and Diagram?

Posted: Wed 22 Mar 2017 03:43
by RobertK
How do I display schema in Model Explorer and Diagram?
(its confusing to not display the schema)

Re: Show schema in Model Explorer and Diagram?

Posted: Wed 22 Mar 2017 11:14
by Shalex
You are working with Devart EF Core Model (*.efml) and PostgreSQL Server, aren't you?

Please select entity on a diagram or in Model Explorer, press F4 (Properties). There is the Schema property.

If you want to access objects from different schemas in Database Explorer, press the "Show All Objects" button in it.

Is that what you mean?

Re: Show schema in Model Explorer and Diagram?

Posted: Wed 22 Mar 2017 13:44
by RobertK
Shalex wrote:You are working with Devart EF Core Model (*.efml) and PostgreSQL Server, aren't you?
Yes that is correct.

What I mean is I would like to toggle on/off to display the schema name next to the class model in both the "Model Explorer" and in the Diagram.

As you can see here you can not see the schema names!
Image

Re: Show schema in Model Explorer and Diagram?

Posted: Thu 23 Mar 2017 11:03
by Shalex
RobertK wrote:
Shalex wrote:You are working with Devart EF Core Model (*.efml) and PostgreSQL Server, aren't you?
Yes that is correct.
1. It is Devart NHibernate Model (*.hbml) set for talking to SQL Server via System.Data.SqlClient on your screenshot.
RobertK wrote:What I mean is I would like to toggle on/off to display the schema name next to the class model in both the "Model Explorer" and in the Diagram.
2. We recommend you to create several diagrams in your model (one diagram for each schema). There is no way to display schema name next to class name.

Re: Show schema in Model Explorer and Diagram?

Posted: Thu 23 Mar 2017 14:54
by RobertK
Shalex wrote:2. We recommend you to create several diagrams in your model (one diagram for each schema). There is no way to display schema name next to class name.
Is this a feature you would consider adding to your backlog? (many other modeller lets you toggle on/off the schema)

Re: Show schema in Model Explorer and Diagram?

Posted: Fri 24 Mar 2017 18:09
by Shalex
Please submit your suggestion at https://devart.uservoice.com/forums/386 ... -developer.

JIC: there is the "Add schema as prefix" option on the "Set up naming rules" step of Create Model Wizard. Or you can set the "Add schema as prefix" option in Model Settings > Synchronization > Model Naming (it will be applied for the newly added entities).