mysql connector 8.0.20 and mysql server 5.7.28
Posted by: Lee Han Yeol Lee
Date: May 12, 2020 02:20AM

Hi
in the prorgress of migrating.net core 2.1 -> .net core 3.1

linq to sql error

DateTime.AddDays(period)

INTERVAL CAST(CAST(`u`.`period` as double) as int) day

but mysql 5.7.28 casting not supported integer and double

how to cast int?

.net connector version : 8.0.20
.net core version : 3.1
mysql server version : 5.7.28

Options: ReplyQuote


Subject
Written By
Posted
mysql connector 8.0.20 and mysql server 5.7.28
May 12, 2020 02:20AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.