-
Notifications
You must be signed in to change notification settings - Fork 8
Abstract and Virtual Entity
CIRCLES ARROWS LIMITED edited this page Oct 18, 2018
·
1 revision
- Insert a new entity and name it as “Base” and add new properties (Uid and Description).
Name | Is Key | Optional | Type | Index |
---|---|---|---|---|
Uid | True | False | string | Unique |
Description | False | True | string | None |
- Set the “Base” as an Abstract entity type.
- Remove the Uid property in the "Person", "Movie" and "Genre" entity.
- In the properties pane, set the base entity of "Person", "Movie" and "Genre" as "Base".
You can now see in the properties pane that "Person", "Movie" and "Genre" inherit the properties from "Base" entity.
You have successfully created an Abstract entity type and used it as a base entity of the other entities.
If you don't want to store the "Base" label on the graph database, you can check the "Virtual" to make it as Virtual entity type.
Now, you can see that the "Base" entity has changed its color to white displaying as Virtual entity.
You have successfully created a Virtual entity type and have used it as a base entity.
Let's take a look at how to create relationships between entities.