Rename an entity type for a model.
Use the contextgraph schema rename entityType command to rename an entity type in a Context Graph model.
Usage
contextgraph schema rename entityType --m model --e entityType --ne newEntityType --w waitForCompleteRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies the name of the model whose entity type you want to rename. |
Yes | --e entityType | Specifies the type of entity to be renamed. |
Yes | --ne newEntityType | Specifies the new entity type. |
No | --w waitForComplete | Specifies whether to wait for jobs to complete in a synchronous mode, where
waitForComplete is one of the following:
|
Example
This example renames an entity type from Employee to Staff in a model called PersonalLending.
contextgraph schema rename entityType --m PersonalLending --e Employee --ne Staff