我更新了數據庫和我得到這個消息:什麼是錯誤3004?
Error 3004: Problem in mapping fragments starting at line
927:No mapping specified for properties User.Username in Set User.
An Entity with Key (PK) will not round-trip when:
Entity is type [Db_AcsModel.User]
C:\Users\User\Desktop\MVC\ACS.Domain\AcsModel.edmx
看到這個http://stackoverflow.com/questions/6063701/error-3004-problem-in-mapping-fragment-starting-at-line – vajapravin