# Define an ADO.NET entity data model for the customer table

To have a strongly-typed model for accessing the data, you can add an Entity Model to your project in Visual Studio in the following way:

1. Create a folder, named `Model`, under the root of your project.
2. Open the context menu of the folder and click *Add* » *New Item...*
3. In the left pane, under *Visual C#*, click *Data*.
4. In the center pane, click *ADO.NET Entity Data Model*.
5. In *Name* input field, enter `MembershipModel.edmx` and click *Add*.\
   The *Entity Data Model Wizard* window appears.
6. Select the *EF Designer from database* model and click *Next*.
7. Connect to the database you created.
8. Add the *Customers* table from the database to the model and click *Finish*.

The data model is created and a `CustomMembershipProviderEntities` class is created, which is used later on in the sample code.
