2013-06-25 6 views
2

콜링 :Azure 테이블 스토리지 SaveChanges는 "요청한 작업이 지정된 리소스에 구현되어 있지 않습니다."를 반환합니다. 다음과 푸른 표 개체에 저장

public class MyEntity : TableServiceEntity 
{ 
    public string Title { get; set; } 

    public string Description { get; set; } 

    public float Amount { get; set; } 

    public DateTime CreatedAt { get; set; } 

    public DateTime UpdatedAt { get; set; } 
} 

는 메시지와 함께 예외를 예외는 :

<?xml version="1.0" encoding="utf-8" standalone="yes"?> 
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> 
    <code>NotImplemented</code> 
    <message xml:lang="en-US"> 
     The requested operation is not implemented on the specified resource. 
     RequestId:8d4b648f-64c7-4584-8152-9563c6eb0733 
     Time:2013-06-25T13:23:22.1722407Z 
    </message> 
</error> 

답변

3

문제는 푸른 저장 테이블에 대해 구현되지 않도록 부동 지점 저장합니다. amount 유형을 double로 변경하면 문제가 해결됩니다.

public class MyEntity : TableServiceEntity 
{ 
    public string Title { get; set; } 

    public string Description { get; set; } 

    public double Amount { get; set; } // <-- Note change here!!! 

    public DateTime CreatedAt { get; set; } 

    public DateTime UpdatedAt { get; set; } 
}