Abdul Basit

Abdul Basit

  • NA
  • 168
  • 486

Err in changing 'Code Generation Strategy'

Oct 23 2017 3:29 AM
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 

Answers (1)