Link to home
Start Free TrialLog in
Avatar of dingir
dingirFlag for Sweden

asked on

Mysql with Linq 2 Entities

I want to recieve all rows from a mysql table and got problems immedietly when adding a "created" field to the model. The created-field is a TIMESTAMP in mysql and appears to be a DateTimeOffset in the model. This give me bug-like-problem when reading the data. How am I possible to cast this field to a string or something?

ASKER CERTIFIED SOLUTION
Avatar of Ashok
Ashok
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dingir

ASKER

Wow that was a hack..

However i seemed to fix it just by adjust connection string.. i will check it today and leave a  feedback
Avatar of dingir

ASKER

Not really a solution but maybe it help someone else,