PRIMARY KEY (2) 썸네일형 리스트형 [EntityFramework]Unable to update the EntitySet because it has a DefiningQuery and no <UpdateFunction> element exists in the <ModificationFunctionMapping> element to support the current operation. Unable to update the EntitySet {{TABLE_NAME}} because it has a DefiningQuery and no element exists in the element to support the current operation.해당 Entity 에 primary key 가 있는지 확인 합니다. (대부분 pk가 없어서 발생하는 오류임.) 테이블에 자동증가 primary 컬럼 한번에 추가하기 USE 데이터베이스 ALTER TABLE 테이블명 ADD 컬럼명 INT IDENTITY CONSTRAINT PK_키이름 PRIMARY KEY CLUSTERED(컬럼명)출처 : https://goo.gl/aj4j6R 이전 1 다음