EntityService Namespace
In order to use this namespace you will need the cborm module installed in your application: install cborm
Gives you the ability to easily inject base ORM services or binded virtual entity services for you:
DSL
Description
entityService
Inject a BaseORMService object for usage as a generic service layer
entityService:{entity}
Inject a VirtualEntityService object for usage as a service layer based off the name of the entity passed in.
1
// Generic ORM service layer
2
property name="genericService" inject="entityService";
3
// Virtual service layer based on the User entity
4
property name="userService" inject="entityService:User";
Copied!
Last modified 6mo ago
Copy link