Model CRUD Operations
After you have more or less defined your business domain model either manually or
by importing it from a database schema, you may want to start defining your service
model by adding operations to the business objects. This generator helps you quickly
add standard Create/Read/Update/Delete (CRUD) operations based on the current object
fields that you can subsequently edit as needed. In addition, it also generates
a Read List operation to return a list of objects based on the specified criteria
for each field accompanied by a corresponding comparison operator (e.g. equals,
not equals, greater than, less than, etc.).
The generator does not use the Output Path parameter and works only for the
currently selected file(s) by updating those files directly. If any object in some
file already has operations defined then this file will be skipped.
This essentially creates a first cut of the service based on the business domain
model. You can then delete operations or parameters that you don't need, since deleting
things is typically much easier than adding new things, and specify additional parameters and operations
to define your service.
|