EF 4.1 Code First error – The entity type SomeType is not part of the model for the current context July 26, 2023 by Tarik It may occur because: DbContext configured with an incorrect connection string The entity specified is actually not mapped in configuration