GrandNode has an internal engine for saving generic simplified settings. A setting has only a name and value, so it is easy to store, retrieve, modify and delete.
All settings are store in single collection, unlike other domain models.
You can see Setting stored in database
To start using Settings, you need to create new file, that should have postfix -Settings
Your Setting class has to inherit from empty interface ISetting.
Setting class should consist of usual Properties.
Usually, Settings are used in configuration by admin.
Starting from Controller, Action GET Configure()
You firstly get all Settings of your type (let's say PayPalStandardPaymentSettings)
and then you assign them to View Model, that will be returned to View
After admin submit his input in Configuration, it is received by POST Configure()
As usual, you firstly load settings
And then, you start assigning View Model values to Setting
You also need specify this code (because of caching mechanism, there is _OverrideForStore for each Property), otherwise values won't be persistently saved