blob: 76adcb707c5dcc3d26eb4c3ee936f0904902224a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="abstract" content="This section provides information to add entity sets to the entitites."/>
<meta name="description" content="This section provides information to add entity sets to the entitites."/>
<link rel="stylesheet" type="text/css" href="../css/documentation.css"/>
<title>Adding an Entity Set</title>
<!--[if lte IE 7]><style>
.codeblock{
overflow:visible;
}</style><![endif]-->
</head>
<body class="" id="loiof331294ccbe54bcf8d2b68ef5a57773b">
<div id="wrapper"><div id="container">
<h1 class="title topictitle1">Adding an Entity Set</h1>
<div class="body taskbody"><p class="shortdesc">This section provides information to add entity sets to the entitites.</p>
<div class="section context" id="loiof331294ccbe54bcf8d2b68ef5a57773b__context_N10015_N10012_N10001"><div class="tasklabel"><h2 class="sectiontitle tasklabel">Context</h2></div>
<p class="p">An entity set is automatically created when an entity type is created. Further, you
can also add more entity sets to the entity type as required.</p>
</div><div class="tasklabel"><h2 class="sectiontitle tasklabel">Procedure</h2></div><ol class="ol steps" id="loiof331294ccbe54bcf8d2b68ef5a57773b__steps_qmx_bqv_sp"><li class="li step stepexpand" id="loiof331294ccbe54bcf8d2b68ef5a57773b__step_N10021_N1001E_N10012_N10001"><span class="ph cmd">Right click on the header of the <span class="ph pname">Entity Type</span> OData Model Element
and select <span class="ph pname">Add Entity Sets</span></span><ul class="ul choices" id="loiof331294ccbe54bcf8d2b68ef5a57773b__choices_ap4_kkf_xj"><li class="li choice">You can also create an entity set, by selecting the existing entity set
and pressing the <em class="ph i">Enter</em> key. </li>
</ul>
<img class="image" id="loiof331294ccbe54bcf8d2b68ef5a57773b__image_ob5_szj_tp" src="060607031e1b40028bab7cc9931ce307.image"/>
<div class="itemgroup stepresult">The new entity set is added under the Entity Sets section and is ready for
editing.<div class="note note" id="loiof331294ccbe54bcf8d2b68ef5a57773b__note_N10044_N10041_N10021_N1001E_N10012_N10001"><span class="notetitle">Note</span> An unique
name will be displayed for the new entity set.</div>
<img class="image" id="loiof331294ccbe54bcf8d2b68ef5a57773b__image_wwz_f1k_tp" src="7d9542f49462404a94ffb69a7995fcc6.image"/>
</div></li>
<li class="li step stepexpand" id="loiof331294ccbe54bcf8d2b68ef5a57773b__step_N10057_N1001E_N10012_N10001"><span class="ph cmd">Select an Entity Set to view and edit its properties in the Properties
View.</span></li>
</ol>
</div>
<div class="related-links">
<div class="relinfo"><div class="relinfotitle ">Related Information</div>
<div><a class="link" href="8777b42c12bc4796a5898dbba6feb3fb.html" title="This section provides instructions to add properties for an entity and complex type.">Adding Properties</a></div>
</div>
</div></div></div>
</body>
</html>