I have a WPF project in the .NET framework 4.5 (VS 2012) and have uploaded Entity Framework 5 using the NuGet package for the solution. All documentation regarding the Entity Framework 5 states that the Code Generation < strategy will be No (i.e. DbContext code generation). But in my case, when adding a new Entity ADO.Net data model, the Code Generation Strategy By default (i.e. the EF Designer generates a context class derived from ObjectContext and derived object classes from EntityObject.) But I want to follow the DbConext code generation mechanism. I follow the basic approach. Am I missing any settings? Or is it that I need to install the T4 template separately?
Thanks.
source share