Step 4:

If you have installed the EF 4.x DbContext Generator for C# in step 1 above, you will see the EF 4.x DbContext Generator option. Select that option. give the model the name NorthwindModel.tt then click on the Add button.

You may see a security warning. Click on the checkbox beside “Do not show this message again”

The simple POCO domain classes are created together with the DbContext class.

Let us first take a peek at one of the smallest domain classes, the Region entity.