image

Now it is time to generate some business entities from a model.

Suppose we have a simplified model with just one entity called Course. It has an unique identifier CourseID and a searchable and displayable attribute called CourseName.

To generate source code the model is injected into the following template.

image

The resulting generated code will look like this:

That’s all.