Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: EF6 Mysql Cannot resolve table's primary key

$
0
0
I add ado.net entity data model from vs2013, choose mysql database, in database have primary key for each table,and someone Foreign Key, but vs2013 warzid cannot correct build edmx file, output: error 13101 Type "xxx" of Key part "xxx" is invalid. All parts of the key shall not be null.


use vs2012,then output :Error 75: Key Part: 'xxx' for type xxx is not valid. All parts of the key must be non nullable.

Viewing all articles
Browse latest Browse all 1793

Trending Articles