I'm working for the first time on a asp.net web api 2 project and I'm having problems creating controllers.
I'm using Code first from existing DB (mysql) with EF 6.
I am able to generate my model and all, but when I try to create a controller I get the following error (for all classes):
There is no store type corresponding to the conceptual side type 'Sbyte' of primitive type 'Sbyte'add controller error
I tried changing the properties that are typed SByte to int, and I also changed the model builder:
modelBuilder.Entity<consultants>().Property(e => e.interne). HasColumnType("utinyint");
P.s: I made sure to rebuild my project still not working