I have the following table in MySQL
When I run the following code in some middleware
var apiKeys = _appContext.apikey.ToList();
I
2 possible options as answered in comments already.
Second option would be using value converters, which works with the other driver.
entity.Property(p => p.isActive).HasConversion< int >();