약속 데이터베이스에 WCF 데이터 서비스를 만들고 있습니다.WCF 데이터 서비스를 통해 TimeSpan을 노출하려면 어떻게합니까?
약속을 TimeSpan 형식의 기간으로 저장하고 있습니다. 내 데이터 서비스에 액세스하려고 할 때, 나는 다음과 같은 오류가 발생합니다 :
"The server encountered an error processing the request. The exception message is 'The property 'Duration' on type 'Appointment' is of type 'Time' which is not a supported primitive type.'. See server logs for more details."
내 WCF 데이터 서비스를 통해 내가 지속 시간을 표시 할 수 있으며 액세스 얼마나 어떤 생각?