EF6 Code-First MySql Forcing to Timestamp
Posted: Fri 27 Jun 2014 02:11
Hi, we're doing some code-frist work in EF 6.1 targeting mySql, and we're hitting an issue where fields in classes use to hold timestamps (modification and creation times) are mapped to datetime fields in MySql, which truncates the values to the nearest second.
We'd like to get it down towards the millisecond, which I believe a timestamp data type would do.
Are there any tricks to coerce dotConnect to map this type to timestamps instead of datetimes?
We'd like to get it down towards the millisecond, which I believe a timestamp data type would do.
Are there any tricks to coerce dotConnect to map this type to timestamps instead of datetimes?