This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-23. For the latest, interactive version please visit https://mariadb.com/kb/.

Problem with connector / entityframework

Im creating a litle app using visual studio 2022, net 6 and mariadb, for study purposes, and i have a problem with mariadb where i receive a message that Object cannot to be cast to DBNull to other types. The problem appear to be this one related here

https://stackoverflow.com/questions/74060289/mysqlconnection-open-system-invalidcastexception-object-cannot-be-cast-from-d

as i have testes with an older version of mariadb, prior to 10.10, and it works well. But i cannot solve it anyway and i cant use a previous version of db. I started my db in Mysql 8 and it worked as well, but where i planning to publish my app does install only a newer version of mariadb.

Does anyone once have this problem? Any suggestion what i can do?

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.