Hi rideronthestorm,
Welcome to MSDN Forum.
In code first, if you want to set a property as timestamp, you need use byte[] type on it, except that, you also need to add an annotation on that property to specify this property is timestamp. Here's a sample.
class TestClass
{
public int ID { get; set; }
public string Name { get; set; }
[timestamp]
public byte[] TimeStamp { get; set; }
}
Best Regards
Allen Li [MSFT]
MSDN Community Support | Feedback to us
