Entity Framework 4 and POCO

I am currently playing around with EF4 and its POCO support. The Entity Model approach is really great, and it suits me well, since I am used to generate a database from an object model.

A good thing about having an entity model is that it is part of your solution in a way than the database is not. So, if you do not have access to the central database (if any), you just have to right-click the entity model, generate the database and you’re good to go.

This blog (although in Swedish) is a great introduction to POCO.

Advertisements