Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Upgrading MySql.Data.Entity to version 6.9.6 breaks database models (1 reply)

$
0
0
Hello
After upgrading MySql.Data and MySql.Data.Entity NuGet packages to version 6.9.6 validation of my database model fails.

I get the following error message on all fields that are defined as nullable in the actual database table:
"Error 13101: Key part '[Property name]' for type '[Entity name]' is not valid. All parts of the key must be non-nullable."


None of the properties listed in the error list are defined as "Entity keys"
Does anyone know how to deal with this? I wish I could just define all the properties as non-null in the MySQL database, but that's gonna affect other production systems.
Reverting to 6.9.5 is really not an option, as I'm not even able to update the model using that version on my Windows 10 dev machine.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>