Whene I change property of 'Code Generation Strategy' from None to Default I found two errors:
1. Partial declarations of 'MVCDemo.Models.SampleDBContext' must not specify different base classes
2. Type 'MVCDemo.Models.SampleDBContext' already defines a member called 'SampleDBContext' with the same parameter types

Nilesh PatilRank #1,129 · 1.6K reputationPosted Oct 22, 2017, 11:42 PM EDT