I am following the database approach first; I have created the tables in my SQL Server 2008 database, then I map those tables to Entity Framework classes using an ADO.NET Entity
Since VS2012 the default code generation changed from ObjectContext to DbContext.
ObjectContext
DbContext