This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a Guid-based Entity.
I send a Json object from client to server, and try to deserialize it using Json.net like this,
It failed because it tried to set a string value to Id. Even though reflection shows MyEntity.Id property is of Guid type, but Json.net's serializer traces Id all the way to its declaring type Entity, which declares it as Object. So the serializer won't do the necessary explicit Guid conversion. How to work around this issue? |
|
|
I found a solution in this post: http://www.mindscapehq.com/forums/thread/309498 |
|