The OpenAccess API contains methods for generating and executing DDL scripts based on the OpenAccess metadata. I have prepared several links for your convenience.
1. You can have a look here here for an overview of utilizing artificial types/properties by using the Fluent Mapping API.
2. You should check the Artificial Types part in particular because it contains example code regarding executing a DDL script based on artificial types and properties.
3. Finally if you need more information you can check the OpenAccess API reference following this link.
Choosing between the Fluent API and XML editing approach is up to you. I personally would go with the Fluent API because I believe it makes things simple and obvious.
Hope that helps and have a nice day.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>