Code based on Entity Framework 4.1 - Code First with Julie Lerman (pluralsight.com)