Now that we've covered the basic concepts of how to create a Runtime geodatabase, let's discuss how this actually works in the app. In this section, we'll cover how to create a feature table; adding, updating, and deleting features; and selecting and committing your edits.
The basic workflow includes the following steps:
Create the feature table. If you are using a feature service, you will access the service via its feature table. If you're using an offline service, you will access it from the Runtime geodatabase that was sync enabled.
Create a
FeatureLayer
class from the feature table and add it to the map.Edit the layer (add, update, or delete features).
Commit your edits. If you're using a feature service, apply the edits. If you're using an offline service, synchronize the edits back to the feature service.