摘要: 环境:mysql5.5.Net Connector 6.6.4EF 4.3.1模型要求:很多业务要求并发处理,时间戳是个很好的选择.代码如下: public class Test { public int ID { get; set; } public string Name { get; set; } public byte[] LastChanged { get; set; } } 问题描述:在LastChanged属性用Data Annotations标记[Timestamp][Timestamp]public byte[] ... 阅读全文
posted @ 2013-01-30 12:17 Ak.Ini 阅读(3985) 评论(12) 推荐(3) 编辑