???????е??????????
???????????? ???????[ 2012/4/13 11:03:14 ] ????????
???????????????????????????з?????????????????Ч?????????????????????????????????????????и????????????????ж????????п?????????????????????????????????????????????????????
Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
??????????????У???????????????????????????????н??У???????????????????????????????????????ж?д???????????????????????????????????????????????н??У????????????????????????????????????????????????????????????
????????????÷??????????????????д?????????????????????????У?Feathers????д????
??????????е?????еò??????????????
??Щ??????????????????????????????????Щ??????????????
??1??????????н?????
??2?????????????????
??3???????????????
??4??????????????????????????????????????????е??
??????????Feathers?????????????????????????н?????????????????????Щ????????ò???Mock???????????????????????????Щ?????????????????????????????????????????????????????????????????????????Χ?????????????????????????????????????????y???Щ??????????????????????????У?????????y????????????????????????????????????????????????
?????????????????????????????????????????????е??????????????????????Mock?????????????????????????????????
???????????У?????????Fixture????????????????????磬?????????????Client??Associate?????????????Щ????????????磺
[Fixture(typeof(client_hastings))]
public Client client;
[Fixture(typeof(Samuel))]
public Associate Samuel;
???Fixture???????????????????????????????ζ??????????????в?????????????????????????????Client???Associate?????д??????????????????ò??з?????С?????????????????????????Client??Associate???Fixture??????????????????????????????????????????????????????????A??????????????Client->Associate??B??????????????Associate->Client???????????????
?????????????????????????????????????????????????????????????????????????γ?????????????????A??????????1??????????????????2?????????????B??????????2????????????????1?????????1?????????A???????????????B????????????A???????????2???????е????B???У????????????????????????????????????е????????????????????????????????SQL Server Profiler??????????????С???????????????????????????????Trace Properties?й????Deadlock Graph?????Lock?? Deallock???????????????
????Trace?????ò??з?????е???????????????????Deadlock graph??
??У?????????????????????δ??????????????????????棬???????????????????????????????????????????????????????????????????????????????????????????????и?????????????????????????????????????????????γ????????????????????????????????
???????????????Fixture???????????????????????????????????????????????????????д????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????в????????????Ч????????????????Agent????????????????????????????????????????????
????????????ζ??????????????????????г??????????????????????????????????????????????????????????????Σ?????????????????????????????????в?????????????????????????????????????????????????????????????????????????????У??б????????????????????Щ??????????淶д????????????????????????????????β??????е?????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11