내가 지금 나는 데이터베이스에서 모델을 업데이트하고 그 후이 오류가있어,하는 ASP.NET MVC4 응용 프로그램 (데이터베이스 첫 번째 방법)을 개발하고 있어요 :매핑 조각 엔티티 프레임 워크 오류
Problem in mapping fragments starting at line 1106:Potential runtime violation of table Trn_BenchProficiency's keys (Trn_BenchProficiency.BenchNumber): Columns (Trn_BenchProficiency.BenchNumber) are mapped to EntitySet Trn_BenchProficiency's properties (Trn_BenchProficiency.BenchNumber) on the conceptual side but they do not form the EntitySet's key properties (Trn_BenchProficiency.AssessedDate, Trn_BenchProficiency.BenchNumber, Trn_BenchProficiency.Proficiency, Trn_BenchProficiency.SkillAllignmentID, Trn_BenchProficiency.SkillID).
I을 이중 비주얼 스튜디오이 표시되는 오류 클릭
이이 친절하게 도와는, 이것에 문제가 무엇인가? 나는 정말로 오류를 찾을 수 없습니다.
모델에 키가 있지만 데이터베이스에 키가없는 것 같습니다. – artm