행운을 비면서 EntityReference로 데이터를 필터링하려고합니다. 나는 또한 SubCategory.Name를 사용하여 시도웹 서비스에서 반환 된 Dynamics CRM 2011 데이터 필터링
/// <summary>
/// Gets the categories.
/// </summary>
/// <returns></returns>
public IEnumerable<category> GetCategoriesExcludingSomething()
{
IEnumerable<category> data = CrmClient.categorySet.OrderBy(x => x.SubCategory).ThenBy(x => x.itf_name);
return data.Where(x => x.SubCategory.ToString() == "SomethingToExclude");
}
하지만 다음은
가 CRMService를 호출 내 방법 : where 절없이 내가 다음과 같은 오류를 얻을 수 where 절에 잘 실행 같은 오류가 발생합니다. 초기 바인딩이나 그 라인을 따라 뭔가를 사용한다는 사실과 관련이 있다고 생각하지만 디버깅 할 때 유용한 정보를 얻을 수 없었습니다.The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
어떤 조언이나 도움이 좋을 것,이 쉬워야한다 :/