Hi all,
I am wondering if it is possible to map a booelan (tinyint(1)) in the database to a .NET bool in my objectmodel.
The conversion from database type integer(11) to the .NET type Int64 also confuses me.
/Mats
Datatypes in Entity Framework
The unsigned int is mapped to Int64, because it can cause an overflow of Int32.
The signed int is mapped to Int32, because when you create a column of int(11) in MySQL, it is saved in DB as the one of int(10) - that is the feature of MySQL.
The mapping of the boolean (tinyint(1)) is described in the post http://www.devart.com/forums/viewtopic.php?t=13493
The signed int is mapped to Int32, because when you create a column of int(11) in MySQL, it is saved in DB as the one of int(10) - that is the feature of MySQL.
The mapping of the boolean (tinyint(1)) is described in the post http://www.devart.com/forums/viewtopic.php?t=13493