Ef core field mapping. This allows creating a model with getter-only properties.

Ef core field mapping. It maps tinyint to byte and bit to sho.