# Code First

Source: https://help.codestencil.com/projects/code-first

The Code First approach in Entity Framework is a development approach in which you create your domain classes first and then generate the database schema from them. This approach allows you to focus on the object-oriented design of your application without worrying about the underlying database schema. Click [here ](https://help.codestencil.com/entity-framework/code-first)to learn more about the Code First approach.

Select the stencil you want to work with, just like the image below;

![](https://cdn.eniston.com/bases/5691f589-9697-4a3a-b3a1-f6588fa2e596/attachments/2024-02-07-13-44-11_1707309938.png)

When you select Code First and click OK, just like in the image below;

![image.png](https://cdn.eniston.com/bases/5691f589-9697-4a3a-b3a1-f6588fa2e596/attachments/1788774309_6a9e87a5e7d99.png)

The Schema Generator Wizard (form) will open. Click [here ](https://help.codestencil.com/projects/code-first-schema-generator-wizard)to check the next step.
