Develop the Resource Tier
We will develop the resource (entity) tier in this lesson, which is the first step in the process of developing the service.
We'll cover the following
This section is the actual service development, which involves the following four main steps:
- Creating the entity
- Creating the data access tier
- Creating the business service tier
- Creating the JSON based REST capability
We will begin with the entity and finish with the REST service.
First, we create two instances of
Item with a
Feature list and then check for two instances of
Item. Later, we do an update and test whether the changes were echoed. Finally, we detach one occurrence and test whether the count is one.