DetachAllTables
- 1 Minute to read
- Print
- DarkLight
- PDF
DetachAllTables
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Detaches all injected tables from a project.
Key | Value(s) | Description |
---|---|---|
method | "DetachAllTables" | Detaches all injected tables from a project. |
targetProject | "TargetProjectName" | Consumer project containing the tables to be detached. |
project | "CurrentProjectName" | Current Project |
All injected tables in the target project will be detached. If any fields have been engineered whilst the tables were injected into the target project then the tables in the targetproject will still be present, but will contain only the engineered fields.
To permanently remove an injected table and any engineered fields, first call DetachAllTables, and then use DeleteTable for each table which needs to be removed.
NOTE: Consider using a script and process that allows the target project to be dropped and recreated. If the consumer project is not being dropped, reset project dependencies each time the project is rebuilt using DeleteDependencies.
{
"method": "DetachAllTables",
"targetProject": "Production"
"project": "LoadProject"
}
Was this article helpful?