I'm trying to make friends .Net, EF and MySql. Made a console application, based on taken from here: MySQL in ASP.NET MVC
But here's the problem: if the model consists of only one entity, then everything is ok, if it consists of several related entities, then in this place:
using(var db=new CustomerManagerContext()) { db.Database.Create(); } FormatException is thrown, with the message "the input string had a wrong format" I tried various options, including the one that is listed on the Oracl website as an example. But the result is the same. What could be the problem? Thank.