In this chapter, we saw how we can control the various database connection parameters such as database location, database name, schema, and so on. We also saw how we can use database initializers to use the database initialization strategy that fits our application needs, and finally, we looked at how we can seed some data using database initializers while using the Code First approach.
At this juncture, we know all about setting up the database using the Database First and Code First approaches. The Model First approach is the same as the Code First approach, but we use Visual Entity Designer to create our entities rather than writing POCO classes. We know how we can manage Entity relationships and map them as database relationships; we also know how we can use entity inheritance to manage our domain entities in a better manner. In the next chapter, we will take a look at how we can use LINQ to Entities to query the Entity Data Model.