Building Blocks > Domain-Specific Building Blocks > Work Master Building Block > Database Schema (Work Master Building Block)
Database Schema (Work Master Building Block)
The work master building block leverages the PTC.DBConnection building block to implement the database. All database configurations and rules can be found by examining the GetDBInfo service on the PTC.WorkMaster.Manager Thing.
The following diagram shows the schema for the shift database objects:
Database schema diagram for the work master building block.
The following Data Shapes in the PTC.WorkMaster project define the objects in the database schema:
PTC.WorkMaster.WorkMaster—Data Shape containing properties for a work master.
PTC.WorkMaster.WorkMasterMaterialSpecification—Data Shape containing properties for the material specification for a work master.
PTC.WorkMaster.WorkMasterMaterialSpecificationInstance—Data Shape containing properties for an instance of a work master material specification.
PTC.WorkMaster.WorkMasterMaterialSpecificationLink—Data Shape containing properties for the material specification link of a work master.
PTC.WorkMaster.WorkMasterLink—Data Shape containing properties for a work master link.
PTC.WorkMaster.WorkMasterModelSpecification—Data Shape containing properties for the model specification of a work master.
PTC.WorkMaster.WorkMasterConfigurationSpecification—Data Shape containing the properties for a work master configuration specification.
PTC.WorkMaster.WorkMasterDependency—Data Shape containing properties for a work master dependency.
PTC.WorkMaster.ProductionBlockType—Data Shape containing properties for the different types of production blocks.
These Data Shapes have a related _AP Data Shape for the purpose of adding custom properties. For example, the PTC.WorkMaster.WorkMaster Data Shape has an associated PTC.WorkMaster.WorkMaster_AP Data Shape. For information on using these _AP Data Shapes, see Adding Custom Properties to Data Model Entities.
Was this helpful?