blob: 9d82d520254bfc544d25e1a645be6e4b73129736 [file] [log] [blame]
<html lang="en-us">
<head>
</head>
<h1 class="title topictitle1">Adding Properties</h1>
<div class="body taskbody"><p class="shortdesc">This section provides instructions to add properties for an entity and complex
type.</p>
<b>NOTE:</b></span> A key property is automatically added to the entity
when the entity is created.</div>
<p class="p"/>
</div><div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><ol><li class="li step" id="loio8777b42c12bc4796a5898dbba6feb3fb__step_N10025_N10022_N10012_N10001"><span class="ph cmd">Right click on the header of the <span class="ph emphasis emphasis">Entity Type</span> of the OData
Model Element and select <b>Add Properties</b></span> and select the
property to be added of your choice: </span><ul class="ul choices" id="loio8777b42c12bc4796a5898dbba6feb3fb__choices_ufw_vpv_sp"><li class="li choice">You can also create similar properties by selecting the existing
property and pressing the <em class="ph i">Enter</em> key.</li>
</ul>
</li>
</ol><p class="li stepsection">The properties have different icons as shown in the table below:
<div class="tablenoborder"><table summary="" id="loio8777b42c12bc4796a5898dbba6feb3fb__table_fzv_lwf_xj" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap">Table 1:
Properties</span></caption><thead class="thead" align="left"><tr class="row"><th class="entry" valign="top" width="21.50537634408602%" id="d66972e45">Properties</th>
<th class="entry" valign="top" width="78.49462365591397%" id="d66972e47">Icons</th>
</tr>
</thead>
<tbody class="tbody"><tr class="row"><td class="entry" valign="top" width="21.50537634408602%" headers="d66972e45 ">Key </td>
<td class="entry" valign="top" width="78.49462365591397%" headers="d66972e47 "><img src="key.png" alt="key" style="width:20px;height:20px"/></td>
</tr>
<tr class="row"><td class="entry" valign="top" width="21.50537634408602%" headers="d66972e45 ">Simple</td>
<td class="entry" valign="top" width="78.49462365591397%" headers="d66972e47 "><img src="Simple.png" alt="Simple" style="width:20px;height:20px""/></td>
</tr>
<tr class="row"><td class="entry" valign="top" width="21.50537634408602%" headers="d66972e45 ">Complex</td>
<td class="entry" valign="top" width="78.49462365591397%" headers="d66972e47 "><img src="Complex.png" alt="Complex" style="width:20px;height:20px""/></td>
</tr>
<tr class="row"><td class="entry" valign="top" width="21.50537634408602%" headers="d66972e45 ">Navigation</td>
<td class="entry" valign="top" width="78.49462365591397%" headers="d66972e47 "><img src="navigation.png" alt="navigation" style="width:20px;height:20px"/></td>
</tr>
</tbody>
</table> <p>
</div>
<p>
<p>
<div class="note note" id="loio8777b42c12bc4796a5898dbba6feb3fb__note_N100C9_N10043_N10022_N10012_N10001"><span class="notetitle"><b>NOTE:</b></span> The navigation property
will be added under the Navigation Properties region. </div>
<p>
</p>
<img src="Proiperities.png" alt="Properties" style="width:150px;height:200px""/></p>
<p>
<p>
<ol start="2"><li class="li step" id="loio8777b42c12bc4796a5898dbba6feb3fb__step_N100D7_N10022_N10012_N10001"><span class="ph cmd">Select a Property to view and edit its properties in the Properties View.</span>
<div class="note note" id="loio8777b42c12bc4796a5898dbba6feb3fb__note_N100E6_N100E3_N100DB_N10022_N10012_N10001"><span class="notetitle">Note</span> To delete a property,
right click on the property and select <span class="ph emphasis emphasis">Delete</span></div>
</li>
</ol></div>
<div class="related-links">
<div class="relinfo"><div class="relinfotitle ">Related Information</div>
<div><a class="link" href="Working with the OData Model Element.html" title="Understanding the OData model element.">Working with the OData Model Element</a></div>
</div>
</div></div></div>
</body>
</html>