MySQL Entity Core

MySQL Entity Core Logo
string => VARCHAR(ByteSize),
int64 => BIGINT,
int32 => INT,
int16 => SMALLINT,
uint64 => BIGINT UNSIGNED,
uint32 => INT UNSIGNED,
uint16 => SMALLINT UNSIGNED,
decimal => DECIMAL(ByteSize, Decimal),
double => DOUBLE(ByteSize, Decimal),
single => FLOAT(ByteSize, Decimal),
char => CHAR(1),
boolean => CHAR(0), // NULL or NOT NULL
datetime => DATETIME,
//...
class => ANYINT UNSIGNED

C# ♥ MySQL

Keep it simple, clean and intuitive


Quickly convert your C# models into MySQL database tables without any indepth knowledge!

Unlike alternative frameworks, we rely on attributes to quickly describe you model and model fields to the database while maintaining a clean code readability. Combining attributes with custom attribute properties and native data types provides the required flexibility for any database concept.
MySQL Entity Core is an open source project that offers a variety of features to maintain a performant and stable database.

Why MySQL?

We tested many other DB providers such as PostgreSQL, MariaDB, MSSQL, etc.
MySQL however does not only share common data types and type properties with C# but also is available for free and open source.

Development Documentation