Skip to Content
Jun 30, 2022 at 06:42 PM

EF6 code first migrations not working with SAP HANA?


Hi, I'm trying to connect a .net application using EF6 Code First to a SAP HANA database. When I try to add my first EF6 migration, I run into the following error "No MigrationSqlGenerator found for provider 'Sap.Data.Hana'. Use the SetSqlGenerator method in the target migrations configuration class to register additional SQL generators.".

Any idea why I can't build a migration project?