OData에서이 코드를 사용할 수 있습니까?oData의 where 절
IQueryable<CallLogInfo> CallLogInfos = _callCenterServiceAccessor.CallLogInfos.Where(x => x.LogId == logid);
var log = CallLogInfos.ToList();
return log.Any();
나는 그것이 생성 된 내 요청을 확인하고 나는 이것을보고 :
http://services/CallCenter/CallCenterDataService.svc/CallLogInfos(1364974501.4)
그래서이 오류를 얻을 :
<m:message xml:lang="en-US">Resource not found for the segment 'CallLogInfo'.</m:message>
을하지만 수동으로 요청 URL에 대한 요청을 할 때 :
http://services/CallCenter/CallCenterDataService.svc/CallLogInfos
ok.