1.4 Building the model
Now that we have a domain model and a basic service model with views for the sales order object, we need to run all rerunnable generators to generate the actual code for our application. All such generators have Include in Build property set to True by default (which you can configure as you like), so essentially we need to build the model project to run these generators.
Note that the model project will not be built automatically when you build the entire solution, since it needs to be built only if the model changes. Therefore, in order to build the model you have to manually run the build for the model project by right-clicking on the project and selecting the Build menu option.

The output console for the build will print the generators being run and any warnings or other output from the generators as shown below.

You can resolve the warning about the “numeric” logical type later by updating the type that inherits from it.
The warnings from the EF Domain Objects generator tell you that some fields in the database and the model use a “hierarchy” type that is not supported by the Entity Framework yet, or a “geography” type, for which there is currently no mapping in the model, and therefore will be skipped in the generated EDM.
As you can see, the model build process, among other artifacts, also generated service implementations and different types of views. This allows us to go straight to building the entire solution and running the application.
Next: 1.5 Running the application >