Users must be able to read all entities that are exposed in the EDM.
Users must be able to update or replace the SalesOrderHeader entities.
Users must be prevented from inserting or deleting the SalesOrderHeader entities
You need to ensure that the data service meets the requirements.
Which code segment should you use in the Initialize method?
Answer:
config.SetEntitySetAccessRule("*", EntitySetRights.AllRead);
config.SetEntitySetAccessRule("SalesOrderHeader", EntitySetRights.WriteMerge|EntitySetRights.WriteReplace);
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.