EF “Code First” works great with existing databases, and
enables a very nice code-centric development approach with them. In particular,
it enables you to use clean “plain old classes” (aka POCO) for your model
objects, and cleanly map them to/from the database using either the default
mapping conventions or by overriding them with custom schema mapping rules.
Below are step by step instructions on how you can use EF
“Code First” with an existing database.