A SQL Server Timestamp becomes a byte[] in a POCO object. The object gets serialized and the timestamp becomes a base 64 string.
An example is 'AAAAAAA2QDE='
When the object is posted back to the server, during Model Validation you get:
The value 'AAAAAAA2QDE=' is not valid for Byte.
I am using this value to check the state of the record to compare to the current record in SQL to see if someone else has updated it since this user has retrieved it (pretty normal).
But the string is not deserializing back to a byte array, it appears that it is trying to put it into a single byte.
This should be a very common issue. Any ideas?