blob: 452e99857314974ed07cb9be8d93f3fa30182110 [file] [log] [blame]
<!--?xml version="1.0" encoding="UTF-8"?-->
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Understanding the OData model element." name="abstract" />
<meta content="Understanding the OData model element." name="description" />
<link href="../css/documentation.css" rel="stylesheet" type="text/css" />
<title></title>
<!--[if lte IE 7]><style>
.codeblock{
overflow:visible;
}</style><![endif]-->
<div id="wrapper">
<div id="container">
<h1 class="title topictitle1">Working with the OData Model Element</h1>
<p class="shortdesc"><span style="line-height: 1.6;">Every OData model element will have sections and each section will have section headers and properties under them. For example, the entity object element will have:</span></p>
<div class="topic concept nested1" id="loio0f8c4c075d7340428574cadbf6976a51" lang="en-US">
<div class="body conbody">
<div class="p">
<ul class="ul" id="loio0f8c4c075d7340428574cadbf6976a51__ul_njl_qpm_zl">
<li class="li">Entity Sets</li>
<li class="li">Properties</li>
<li class="li">Navigation Properties</li>
</ul>
</div>
<div class="section" id="loio0f8c4c075d7340428574cadbf6976a51__section_N1002D_N10012_N10001">
<p class="p">This section will guide you to understand the various functions available in the OData model element.</p>
</div>
</div>
<div class="topic nested2" id="topic_cb3_4sf_bp">
<h3 class="title topictitle3">OData Model Elements</h3>
<div class="body">
<div class="p">The OData model element is a graphical representation of the artifacts in the OData Model Editor. For example, the entity type OData model element has three sections with the following headers:
<ul class="ul" id="topic_cb3_4sf_bp__ul_wrs_ftf_bp">
<li class="li">Entity Sets</li>
<li class="li">Properties</li>
<li class="li">Navigation Properties</li>
</ul>
</div>
<div class="note note"><strong><span class="notetitle">Note</span></strong> The section header names cannot be modified.</div>
<img src="WOE1.png" alt="" style="width:304px;height:228px" /></div>
</div>
<div class="topic task nested2" id="task_tgx_xgg_xj">
<h3 class="title topictitle3"><strong>Selecting an OData Element</strong></h3>
<div class="body taskbody">
<div class="section context" id="task_tgx_xgg_xj__context_N10062_N1005F_N10054_N10001">
<div class="tasklabel">
<h4 class="sectiontitle tasklabel"><span style="line-height: 1.6;">You can move the OData model element by first selecting the shape.</span></h4>
</div>
<ol class="ol" id="task_tgx_xgg_xj__ol_nh2_bpf_bp">
<li class="li">Left click inside the OData model element. Ensure to click on the borders, dividers or the object icon.
<p class="p"><img src="WOE2.png" alt="" style="width:304px;height:228px" /></p>
<p class="p">The OData model element is selected and now you can move and position the shape inside the OData Model Editor as required.</p>
</li>
</ol>
</div>
</div>
</div>
<div class="topic task nested2" id="task_ilk_rkq_mj">
<h3 class="title topictitle3"><strong>Resizing the OData Model Element</strong></h3>
<div class="body taskbody">
<div class="section context" id="task_ilk_rkq_mj__context_N10091_N1008E_N10083_N10001">
<div class="tasklabel">
<h4 class="sectiontitle tasklabel"><span style="line-height: 1.6;">The OData model element re-sizes automatically to accommodate additional properties, You can also resize the OData model element manually by selecting it and dragging the corners.</span></h4>
</div>
<ul class="ul" id="task_ilk_rkq_mj__ul_tcs_ztf_bp">
<li class="li">Select the OData model element and drag the corners to re-size the OData model element manually.
<p class="p"><img src="WOE3.png" alt="" style="width:304px;height:228px" /></p>
</li>
</ul>
</div>
</div>
</div>
<div class="topic nested2" id="topic_tlv_d5f_bp">
<h3 class="title topictitle3"><strong>Expand and Collapse of Sections</strong></h3>
<div class="body">
<p class="p">The OData Model Editor provides an universal expand and collapse button on the tool bar to expand and collapse all the section headers of the objects in the OData model element. You can also expand and collapse the sections in the OData model element.</p>
<div class="tablenoborder">
<table border="1" class="table" frame="border" id="topic_tlv_d5f_bp__table_xkv_rlg_xj" rules="all" summary="">
<caption><span class="tablecap">Table 1: Properties</span></caption>
<thead align="left" class="thead">
<tr class="row">
<th class="entry" id="d75806e89" valign="top" width="33.33333333333333%"><strong>Description</strong></th>
<th class="entry" id="d75806e91" valign="top" width="33.33333333333333%"><strong>Button</strong></th>
<th class="entry" id="d75806e93" valign="top" width="33.33333333333333%"><strong>Shortcut Keys</strong></th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry" headers="d75806e89 " valign="top" width="33.33333333333333%">Expand All</td>
<td class="entry" headers="d75806e91 " valign="top" width="33.33333333333333%"><img src="Expand.png" alt="" style="width:30px;height:28px" /></td>
<td class="entry" headers="d75806e93 " valign="top" width="33.33333333333333%">Ctrl + Alt + E</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e89 " valign="top" width="33.33333333333333%">Collapse All</td>
<td class="entry" headers="d75806e91 " valign="top" width="33.33333333333333%"><img src="Collapse.png" alt="" style="width:30px;height:28px"/></td>
<td class="entry" headers="d75806e93 " valign="top" width="33.33333333333333%">Ctrl + Alt + C</td>
</tr>
</tbody>
</table>
</div>
<ul class="ul" id="topic_tlv_d5f_bp__ul_xn4_pwf_bp">
<li class="li">Click the <img src="Collapse.png" alt="" style="width:30px;height:28px" /> button on the tool bar to collapse all the objects in the OData Model Elements in the OData Model Editor.</li>
<li class="li">Click the arrow head button in the expanded section header to collapse the sections:
<p class="p"><img src="WOE4.png" alt="" style="width:304px;height:228px" /></p>
</li>
<li class="li">Click the <img src="Expand.png" alt="" style="width:30px;height:28px" /> button on the tool bar to expand all the objects in the OData model elements in the OData Model Editor.</li>
<li class="li">Click the arrow head button in the collapsed section header to expand it.
<p class="p"><img src="WOE5.png" alt="" style="width:304px;height:228px"/></p>
</li>
</ul>
</div>
</div>
<div class="topic nested2" id="topic_v2s_gxf_bp">
<h3 class="title topictitle3">Context Pad</h3>
<div class="body">
<p class="p">A context pad is provided for every OData model element to assist the user to perform some basic functions in the OData Model Editor with just a click. Just hover the mouse cursor on the OData model element to view the context pad</p>
<p class="p"><img src="WOE6.png" alt="" style="width:304px;height:228px" /></p>
<p class="p">The context pad provides the following functions:</p>
<ul class="ul" id="topic_v2s_gxf_bp__ul_yqd_nxf_bp">
<li class="li"><span class="ph emphasis emphasis"><strong>Delete</strong> </span>- Click to delete the OData model element along with the related entities and associations.
<p class="p"><img src="WOE7.png" alt="" style="width:304px;height:228px" /></p>
</li>
<li class="li"><strong><span class="ph emphasis emphasis">Add Property</span></strong>- Click to add a simple property to the OData model element. See <a class="xref" href="Adding Properties.html" title="This section provides instructions to add properties for an entity and complex type.">Adding Properties</a> for more information.
<p class="p"><img src="WOE8.png" alt="" style="width:304px;height:228px"/></p>
</li>
<li class="li"><strong><span class="ph emphasis emphasis">Add Complex Property</span></strong>- Click to add a complex property to the OData model element.
<p class="p"><img src="WOE9.png" alt="" style="width:304px;height:228px" /></p>
</li>
<li class="li"><span class="ph emphasis emphasis"><strong>Add Navigation Property</strong> </span>- Click to add a navigation property to the OData Model Element.
<p class="p"><img src="WOE10.png" alt="" style="width:304px;height:228px" /></p>
</li>
<li class="li"><strong><span class="ph emphasis emphasis">Add Association</span></strong>- Click and drag the arrow to another entity to create associations between entity types.
<p class="p"><img src="WOE11.png" alt="" style="width:304px;height:228px" /></p>
</li>
</ul>
</div>
</div>
<div class="topic nested2" id="topic_yfk_fyf_bp">
<h3 class="title topictitle3">This section describes the common options available in the context menu of the OData Model Elements. Some options are specific to OData Model Elements and are not addressed in this section.</h3>
<div class="body">
<ol class="ol" id="topic_yfk_fyf_bp__ol_mwf_qyf_bp">
<li class="li">Right click on the header of the OData Model Element to open the Context menu.
<p class="p"><img src="WOE12.png" alt="" style="width:304px;height:228px" /></p>
</li>
<li class="li">Do the following using the context menu of the OData Model Element:
<div class="tablenoborder">
<table border="1" class="table" frame="border" id="topic_yfk_fyf_bp__table_q45_fzf_bp" rules="all" summary="">
<caption><strong><span class="tablecap">Table 2: Context Menu</span></strong></caption>
<thead align="left" class="thead">
<tr class="row">
<th class="entry" id="d75806e196" valign="top" width="61.53846153846154%"><strong>Context Menu</strong></th>
<th class="entry" id="d75806e198" valign="top" width="38.46153846153846%"><strong>Description</strong></th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Undo Create a new Entity Type/ Function Import</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Use this menu to undo the most recent action performed in the OData model editor.</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Add Property</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Adds a property to the Properties. .</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Add Entity Sets</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Click to add a new entity set.</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Show Usages</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Use this menu to show and hide the all relationships of this function import with other artifacts on the canvas. The relationships are represented by arrows</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Delete</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Deletes the OData model element</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Export Diagram</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Use this menu to export and save the object as a diagram</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%"><span class="ph menucascade"><span class="ph uicontrol">Diagram&gt;&nbsp;</span><span class="ph uicontrol">Expand All&gt;</span>&nbsp;<span class="ph uicontrol">Collapse All</span>&nbsp;</span></td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Use this menu to either expand all or collapse all the objects in the OData model element</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Layout</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Use this menu to choose the preferred layouts to layout the OData model elements in the OData model</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e196 " valign="top" width="61.53846153846154%">Print</td>
<td class="entry" headers="d75806e198 " valign="top" width="38.46153846153846%">Use this menu print the diagram</td>
</tr>
</tbody>
</table>
</div>
</li>
</ol>
</div>
</div>
<div class="topic nested2" id="topic_t3c_d1g_bp">
<h3 class="title topictitle3"><strong>Show/Hide All Usages</strong></h3>
<div class="body">
<p class="p">The objective of the Show/Hide All Usages button is to provide the user with the facility to view all the relationships between the artifacts on the graphical editor. Clicking the button in the when relationships are displayed will hide all the relationship(s). The Show/Hide button is a toggle button and can be located on the tool bar of the eclipse application and in the context pad of the objects. This button switches between two states; Show Usage (showing the relationship between the artifacts) and Hide Usage (hiding relationship between the artifacts). The appearance of the button changes with its state to provide visual assistance for the user.</p>
<div class="tablenoborder">
<table border="1" class="table" frame="border" id="topic_t3c_d1g_bp__table_xqw_gls_bj" rules="all" summary="">
<caption><span class="tablecap">Table 3: Show /Hide All Usages </span></caption>
<thead align="left" class="thead">
<tr class="row">
<th class="entry" id="d75806e267" valign="top" width="24.426229508196723%">Button</th>
<th class="entry" id="d75806e269" valign="top" width="16.393442622950822%">State</th>
<th class="entry" id="d75806e271" valign="top" width="59.18032786885246%">Description</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry" headers="d75806e267 " valign="top" width="24.426229508196723%"><img src="WOE13.png" alt="" style="width:30px;height:28px" /></td>
<td class="entry" headers="d75806e269 " valign="top" width="16.393442622950822%">Active</td>
<td class="entry" headers="d75806e271 " valign="top" width="59.18032786885246%">When the Show/Hide Usage button has a box around it (pressed state) signifies that all the relationships between the artifacts in the graphical editor are being visible. You can press the button to hide the relationships.</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e267 " valign="top" width="24.426229508196723%"><img src="WOE14.png" alt="" style="width:30px;height:28px"/></td>
<td class="entry" headers="d75806e269 " valign="top" width="16.393442622950822%">Inactive</td>
<td class="entry" headers="d75806e271 " valign="top" width="59.18032786885246%">When the Show/Hide Usage button appears without a box around it, then you can press it to view all the relationships between the artifacts in the graphical editor.</td>
</tr>
</tbody>
</table>
</div>
<div class="p">The following condition are adhered while using the &quot;Show/Hide&quot; button:
<ul class="ul" id="topic_t3c_d1g_bp__ul_ygq_vsq_mj">
<li class="li">When an OData model is opened in the graphical editor and when the &ldquo;Show/Hide All Usages&rdquo; toggle button is pushed, the usage for all artifacts are shown in graphical editor canvas. The graphical editor switches to unsaved state &amp; the button is in active state.</li>
<li class="li">The relationship between the artifacts are shown by arrows.</li>
<li class="li">Show usage will be available for entity types, complex types.</li>
<li class="li">For complex types, if the same complex type is used in multiple properties in an entity, then link will be shown only to the parent entity. It is also applicable for entity types.</li>
<li class="li">Show/Hide usage function is available for property usage and base type if the entity type and complex type.</li>
<li class="li">Show usage is available for parameter usage and return type for function import.</li>
<li class="li">When show usage is enabled, and if any changes are made in the properties view, the OData Model Editor reflects the changes instantly.</li>
</ul>
</div>
<div class="note note" id="topic_t3c_d1g_bp__note_N10298_N10203_N10200_N101F5_N10188_N100AF_N10001"><span class="notetitle">Note</span> Whenever the Show/Hide All Usages toggle button is used, the graphical editor returns to the unsaved mode to maintain the state of &ldquo;Show/Hide All Usages&rdquo; toggle button. On saving &amp; reopening the model file, the last state of the &ldquo;Show/Hide All Usages&rdquo; toggle button will be maintained.</div>
</div>
</div>
<div class="topic nested2" id="topic_jxy_jd4_bp">
<h3 class="title topictitle3"><strong>Copy and Paste</strong></h3>
<div class="body">
<p class="p">This page will guide you to copy and paste the OData Model Elements in the OData Model Editor. The Copy &amp; Paste function is available in the following scenarios:</p>
<div class="p">
<ul class="ul" id="topic_jxy_jd4_bp__ul_bgd_1k4_bp">
<li class="li">Copy and Paste the OData Model Element anywhere in the same editor</li>
<li class="li">Copy and Paste across OData Model Editors</li>
<li class="li">Cascading Paste function - When pasting the OData Model Element on top of another OData Model Element, the elements are layered above another as cascades and does not overlap each other.
<p class="p"><img src="WOE15.png" alt="" style="width:304px;height:328px" /></p>
</li>
<li class="li">Copy and Paste of multiple OData Model Elements:
<ul class="ul" id="topic_jxy_jd4_bp__ul_rn2_1k4_bp">
<li class="li">Select the OData Model Elements to be copied.
<div class="note note"><strong><span class="notetitle">Note:</span></strong> Ensure that only the OData Model Elements are selected and properties inside the element are not selected. If the properties are selected along with the elements then the paste will not work. Also, the entity sets cannot be copied.</div>
</li>
<li class="li">Paste the copied elements in the same canvas on top of the copied elements.
<p class="p"><img src="WOE16.png" alt="" style="width:334px;height:328px" /></p>
<p class="p">The elements are positioned as cascades on top of another element of the same type.</p>
<p class="p">If you paste the copied elements elements anywhere in the same canvas or in another canvas, then the elements are pasted as follows:</p>
<p class="p"><img src="WOE17.png" alt="" style="width:250px;height:228px"/></p>
<div class="note note"><span class="notetitle">Note</span> Drag and drop function to copy and paste the OData Model Element in the OData Model Editor is not supported.</div>
</li>
</ul>
</li>
</ul>
</div>
<div class="section">To Copy and Paste OData Model Elements follow these steps:
<ol class="ol" id="topic_jxy_jd4_bp__ol_nwh_zh4_bp">
<li class="li">Click on the empty region in OData Model Editor and select<span class="ph emphasis emphasis"> Paste</span> or press <span class="ph emphasis emphasis">Control+V</span> from the keyboard.
<p class="p">The copied OData Model Element will be pasted as positioned.</p>
<div class="note note"><strong><span class="notetitle">Note:</span> </strong>For copying properties, select the OData Model Element or anywhere in the element to paste the property and then paste the property.</div>
<p></p>
<img src="WOE18.png" alt="" style="width:654px;height:428px" /></li>
<li class="li">During a copy and paste process the following condition are met:
<ul class="ul" id="topic_jxy_jd4_bp__ul_rnh_mj4_bp">
<li class="li">The new OData Model Element that was copied will have a unique name.</li>
<li class="li">All the Properties and their attributes from the source entity will be copied to the destination entity with the same names and same attributes values.</li>
<li class="li">Associations, Navigation properties will not be be copied to the destination Entity type element.</li>
<li class="li">Only default Entity Set will be created in the copied Entity element.</li>
<li class="li">A copied property will be pasted at the end of properties list in the new property element.The name of the property will be prop&lt;N&gt;, where &quot;N&quot; will be incremented every time you paste the same property and the name of the property will be in edit mode.The attributes of the property should be same as source property.</li>
<li class="li">For copy of Property from EntityType to ComplexType , if, the source property is Key property then the destination property pasted in ComplexType should not be a key property.</li>
</ul>
</li>
<li class="li">Using the mouse, select the required OData Model Element and select <span class="ph emphasis emphasis">Copy </span>or press Control+C from the keyboard.<span style="line-height: 1.2;">Shortcut Keys</span></li>
</ol>
</div>
</div>
</div>
<div class="topic nested2" id="topic_jd5_3dg_bp">
<div class="body">
<div class="p">The table below provides the list of shortcut keys that can be used in the OData Model Editor:
<div class="tablenoborder">
<table border="1" class="table" frame="border" id="topic_jd5_3dg_bp__table_xqw_gls_bj" rules="all" summary="">
<caption><span class="tablecap">Table 4: Show /Hide Usage </span></caption>
<thead align="left" class="thead">
<tr class="row">
<th class="entry" id="d75806e424" valign="top" width="39.370078740157474%">Action To</th>
<th class="entry" id="d75806e426" valign="top" width="60.629921259842526%">Shortcut Key</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Navigation Left between the OData Model Elements</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Left arrow</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Navigate right between the OData Model Elements</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Right arrow</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Navigate down within the OData Model Elements</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Down arrow</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Navigate up within the OData Model Elements</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Up arrow</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Navigate into a section in the OData Model Element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Alt+Down arrow with the OData model element selected</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Navigate out of a section in the OData Model Element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Alt+Up arrow</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Cycle through an OData Model Element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Select the OData model element and press the period key</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Move an OData Model Element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Cycle once to the Move handle using the period key. Use navigation keys to move. Press Enter to accept new location. Press Escape to cancel the move</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Resize an OData Model Element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Cycle to desired resize handle using the period key. Use navigation keys to resize. Press Enter to accept new size. Press Escape to cancel the resize</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Cycle through connections</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Slash or backslash while on an element with connections</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Select multiple</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Hold down Ctrl. Use navigation keys to navigate to additional OData model element. Press Space to select additional shapes or deselect already selected ones.</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Select in sequence</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Hold down Shift, use navigation keys to select additional shapes or deselect already selected ones.</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Go from OData model editor to palette</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Shift + Tab</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Go from palette to OData model editor</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Tab (currently only works with active selection tool)</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Create selected palette element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">RETURN</td>
</tr>
<tr class="row">
<td class="entry" headers="d75806e424 " valign="top" width="39.370078740157474%">Create relation between OData Model Element</td>
<td class="entry" headers="d75806e426 " valign="top" width="60.629921259842526%">Apply multi selection to the OData model element with SPACE. Navigate to palette with Shift + Tab and create the desired relation with RETURN</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="topic nested2" id="topic_wxk_wdg_bp">
<h3 class="title topictitle3">Things to Remember</h3>
<div class="body">
<ul class="ul" id="topic_wxk_wdg_bp__ul_hmr_jgx_hp">
<li class="li">While working with version control system, OData model may be in Read-only mode. Following are the characteristics of a Read-only OData model:
<ul class="ul" id="topic_wxk_wdg_bp__ul_uwl_pgx_hp">
<li class="li">Read-only tag appears along with the title of the model.</li>
<li class="li">Editor palette does not appear.</li>
<li class="li">User can perform actions such as move the entities, show/hide relation, collapse etc.</li>
</ul>
To edit the model, ensure OData model is in Write mode and reopen the editor.</li>
<li class="li">Whenever a change is made on the canvas the OData Model Editor displays a <span class="ph emphasis emphasis">star icon</span> in the tab page of the OData Model Editor indicating that the model needs to be saved.
<p class="p"><img src="WOE19.png" alt="" style="width:304px;height:228px"/></p>
<ul class="ul" id="topic_wxk_wdg_bp__ul_tms_t2g_bp">
<li class="li">Select and press <em class="ph i">F2</em> to edit any objects in the entity shape.</li>
<li class="li">On saving the model, an error icon displays on the elements that are erroneous and also in the OData Model Editor.
<p class="p"><img src="WOE20.png" alt="" style="width:304px;height:228px"/></p>
<p class="p">Multiple elements and attributes can be deleted by either using CTRL key or SHIFT key and selecting the objects. A delete confirmation window appears during such operations.</p>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>