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