Arc relationship (XOR) in Oracle SQL Sata Modeler? - oracle

I need to model database in Oracle SQL Developer Data Modeler.
I have to create ARC relationship (XOR), but I don't know how.
I have found checkbox "In Arc" in Foreign Keys properties, but it is disable (grey). I don't see any other options, which pertain to Arc.

You need to select the relationship lines in the diagram, and then hit the 'New Arc' button on the main toolbar.
From the help:
"To create an arc, do so after creating all the relationships to be included. Select the entity box, select all relationship lines to be included (hold Shift and click each line), and click the New Arc button in the toolbar."

Related

How to choose a foreign key in Oracle?

In the data modeler browser, I am aware there is a way to choose a foreign key in an entity, in a foreign key properties menu (under "associated columns").
However I'm having trouble finding this menu.
Any help will be appreciated.
Toggle on the relationship button in the toolbar.
Click on the parent entity, then click on the child entity. The line will be drawn AND you'll get a properties dialog for the relationship.
Or if the line is already there, simply double-click the line.

Silverlight Dropdown-box alphabetically ordered

I've been busy with this for two days, and I can't get any further on it.
I have a Dropdown-box/Combobox (not sure what it's called) in Microsoft Silverlight, and my editor is Microsoft Visual Studio 2010. The Dropdown-box has to be alphabetically ordered, but I do not know where to find the source. This is what I do know:
If I select the Dropdown box in the Designer, I can see that the
Data Binding is called "par_Customer(item)".
On the left side of the Designer is a list of tables, including the
par_Customer table.
Almost all tables have the text "Edit Query" next to them, and by
clicking on that the program opens a query editor with the right
query in it.
The table I need, "par_Customer", does not have the text "Edit
Query" on it.
When I right-click on the table, I get the options to Delete or Edit
the table.
When I click Edit, I see a list of all the attributes (columns) of
that table and its relationships, yet no query or anything
The Dropdown box is not filled by code.
What I would like to know: where do I find the source of this dropdown box? Where is it "filled"?
I would really appreciate any help or input on this problem, since I have no idea where to look any information will be of value.

How to hide foreign key elements from tables in SQL Developer Data Modeler?

For example, I have two tables UNIT_OF_MEASUREMENT and PHYSICAL_QUANTITY. PHYSICAL_QUANTITY has a field what represents foreign key of UNIT_OF_MEASUREMENT table. When i add this relationship, PHYSICAL_QUANTITY_UNIT_OF_MEASUREMENT_FK at PHYSICAL_QUANTITY table is shown. How can i hide this element (not relationship) from table?
There is way to hide primary key elements from table. Just Right-click at table -> select "Show / Hide elements" -> select elements that must be hidden and click "OK".
But PHYSICAL_QUANTITY_UNIT_OF_MEASUREMENT_FK element is not shown there.
Why? And is there a way to hide PHYSICAL_QUANTITY_UNIT_OF_MEASUREMENT_FK element from table? Thanks.
You can select the elements that you need to be shown by right clicking on the diagram (not in the tables), and selecting the ones you need in View Details

Is there a way to ONLY add tables to an edmx file?

I wanted to ask if there is a way to ONLY add new tables to the edmx file without updating (refreshing) or deleting the existing table?
Sure, If you right click on your EDMX model diagram. You can select update model from database. A dialogue box will pup up. The dialogue box has tabs up at the top one of them is add. From there expand the table menu and select the tables you want to add.
Update 11/08/2014
In this example Deleted table no longer exists in the Database. Open up your EDMX file. Right click in the white space around your tables and select Update Model from Database.
A dialogue box will pop up. Under the add tab expand tables and select only the tables you want to add. and click finish.
And you're done. Both tables still exist in your EDMX file.

List of used Tables/View in Linq DBML file diagram

Visual Studio 2010 show dbml file of linq to sql mapping as a class diagram. Is there a way to view all mapped tables/views as a list?? I have a lot of tables and for view if a table already is mapped have to find it in a too big graphic diagram!!!
When you open the designer and view the Properties window (press F4) there's a combo box at the top of the Properties window. This box contains all the objects that are on the designer - the entities (tables and views), the associations (the foreign keys and joins), and the datacontext itself.
If you select an item from the combo box, the corresponding item will be selected on the designer.

Resources