2011.11.15

1. 数据库操作使用Lock防止:

  • InvalidOperationException “The operation cannot be performed because an operation on another thread has not been completed.”
  • InvalidOperationException “The operation cannot be performed during a call to SubmitChanges

http://msdn.microsoft.com/zh-cn/library/c5kehkcz(VS.80).aspx

posted @ 2011-11-15 18:21  jeekun  阅读(170)  评论(0编辑  收藏  举报