Concrete Virtual Services

Let's say you are using the virtual service but you find that they do not complete your requirements, or you need some custom methods or change functionality. Then you will be building concrete services that inherit from the virtual entity service. This is the very purpose of these support classes as most of the time you will have custom requirements and your own style of coding. You will do this in two steps:

  1. Inherit from cborm.models.VirtualEntityService

  2. Call the super.init() constructor with the entity to root the service and any other options

Below is a sample service layer:

Last updated

Was this helpful?