I am generating some test data for dates by using a random amount of ticks, but the date i put in seems to have a higher precision than the one I get back. Is this an issue with EF5 or is this something to do with the DateTime vs DateTime2 column types.
EG
Ticks from my generated time: 634074312268196992
Ticks from that time once stored/retrieved via EF: 634074312268200000
Since you mentioned that there are two date types involved then probably the problem is because
datetimehas less precision thendatetime2