Databases Reference
In-Depth Information
To specify a key, click on the green plus icon (circled in the previous screenshot).
This will launch the
Specify Key
window, as shown in the following screenshot:
Here we need to specify the actual
Key QName
and its
Key Value
. To specify the
key, click on the
Browse Entity Variable
icon (circled in the preceding screenshot) to
launch the corresponding window.
Expand the appropriate entity variable, which is
listingViewEV
, and select the
element that holds the primary key, that is,
ListingId
.
If you look at the preceding screenshot, you will see that the
listingViewSDO
contains two
ListingId
entries, the first with
an orange icon next to it. This is an annotation, which indicates
that
ListingId
is the key for the SDO. However, when selecting
the key you still need to select the actual element itself.