This article explained the basic concepts of the Code First
features in the Entity Framework 4.1 to get you started. There are numerous
other features that allow you to add validation to your classes and even
override the default implementation of how the fields are created that will be
featured in a future article.
Good luck on your project and happy coding.