Name | Type | Required | Default | Hint |
serviceName | string | true | The name of this Base ORM service to create | |
directory | string | false | models | The base directory to create your model in and creates the directory if it does not exist. |
queryCaching | boolean | false | false | Will you be activating query caching or not |
eventHandling | boolean | false | true | Will the virtual entity service emit events |
cacheRegion | string | false | The cache region the virtual entity service methods will use | |
tests | boolean | false | true | Generate the unit test BDD component |
testsDirectory | string | false | tests/specs/unit | Your unit tests directory. Only used if tests is true |
open | boolean | false | false | Open the file once generated |
Create a new base ORM entity service model in an existing ColdBox application. Make sure you are running this command in the root
of your app for it to find the correct folder.
coldbox create orm-service SecurityService --open