BizCode Application Builder 1.2 (Beta) was just released. Spent around two days on developing the new functionality to map Collection Association/Aggregations in BizCode Application Builder. Earlier versions did not support this functionality. The way Aggregations are mapped in Visual Studio Class Designer is using Collection Associations. For an example if we have an aggregation between class OrderDetails and class Product, an instance of OrderDetails can hold a collection of Product instances. Therefore it should be mapped into three tables in the Storage Layer, ORDER_DETAILS table, PRODUCT table and ORDER_DETAILS_PRODUCT_COLLECTION table to hold the collection data. In Class Designer we can define it as a List
Application Builder allows the user to select classes from the list of classes found in the Class Diagram to generate source code. Therefore it will check selected classes associations for referencing classes. If there are associations found in selected classes, all the referencing classes will be automatically selected. This feature was added to let the user to define Primary Keys for the referencing classes. Otherwise the Application Builder will not be able to map the associations properly.
Another new feature was added in the new version of Application Builder to format table names and column names using their naming convention. Application Builder will look for the Camel Notation in all the class names and attribute names and those will be split using the underscore “_” character.
Ex:-
Class Name: OrderDetails -> Table Name: ORDER_DETAILS
Attribute Name: OrderDetailsId -> Column Name: order_details_id
Demo Order Management Sample Class Diagram