도메인 서비스를 호출하여 Entity Framework 개체를 반환하면 데이터베이스 연결 시간 초과 오류가 발생합니다. 내가 처음이있을 수 있습니다 생각Silverlight Entity Framework DataContractSurrogate 오류
“An error occurred while executing the command definition. See the inner exception for details.
InnerException message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.”
다음 EntityQuery로드 조작을 실행하고 다음과 같습니다 후 나는 Visual Studio 2010에서 Visual Studio 2010을
초기 오류가 실버 라이트 클라이언트 측에 갇혀와 실버 라이트 4를 사용하고 있습니다 SQL Server 데이터베이스에 오류가 오류 그냥 같았다 이후 갑자기 나타납니다,하지만 나는 다음과 같다 내가 도메인 서비스 클래스에 깊은 아래로 추적 한 오류 발견 :이 포스트는 비슷한 있었다
Function evaluation timed out.
The type 'MyProject.Web.Models.MyCustomEntity' exists in both 'MyProject.Web.dll' and 'DataContractSurrogates_cfc4b316-5204-4fc6-830c-d91c6fc0b24b'
을 오류,하지만 그들의 레소 lution이 나를 도와주지 않는다 : silverlight The type exists in both and DataContractSurrogates
나는 이것을 설명하기 위해 약간의 상실감을 느낀다. 그리고 당신의 도움에 정말로 감사 할 것이다!