Entity Framework with MySQL Issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lespein
    New Member
    • Mar 2020
    • 1

    Entity Framework with MySQL Issues

    I'm a beginner with c# / asp.net and I'm trying to get entity framework code-first working with mySQL usign a variety of tutorials. I've managed to get through loads of issues but this one is killing me:
    When I try to migrate the database I receive the following error: MySql.Data.MySq lClient.MySqlEx ception (0x80004005): Unknown column 'no' in 'field list'
    Last edited by Rabbit; Apr 10 '20, 07:00 AM. Reason: External link removed
  • Ishan Shah
    New Member
    • Jan 2020
    • 47

    #2
    First of all, without getting code I can't give a proper answer, but by the error MySql.Data.MySq lClient.MySqlEx ception (0x80004005), You're missing a unique "id" field of the database table which you migrating.

    Comment

    Working...