??????????????????Windbg??????????????????????????顣???????????????????????????????????????ж???????????????ε?????????.NET??á????????????LINQ to SQL?????????????????ORM????Щ?????????????????????????????????е?????????????Property??????????Ρ??????????????????????б??????????????????????д??get/set??????????????????????????????????????????????????ЩORM???????????????

?????????????????????????????棬????????????Щ????????????????????ó???????????????????????Windbg????????????????????IronPython Console?????load?????????????assembly?????????ORM???????????????????2????????????Щ??????????????????????????????????????????????????????????????????????????????????????????????????д?????????е?IronPython???????????????Щ????????????????????????£?

1: def access_attribute(namespace):
2: for name in dir(namespace):
3: try:
4: type_ = getattr(namespace?? name)
5: if type(type_) == type(System):
6: access_attribute(type_)
7: continue
8:
9: bj = type_()
10: for attr in dir(obj):
11: try: setattr(obj?? attr?? type(getattr(obj?? attr))())
12: except: pass
13: try: setattr(obj?? attr?? None)
14: except: ass
15: try: setattr(obj?? attr?? ????)
16: except: pass
17: except:
18: pass

?????ú???????????????????????????????????????????????????????

????* ??2?У????namespace?е??????????????????

????* ??4?У????namespace?е????????????type_?С???.NET?????type_????????????????

????* ??5~7?У????????????????System???????????????????????????????????????????????

????* ??9?У???????????????????????type_????????????obj?С?

????* ??10~16?У?????obj?????????????????丳???

????* ?????г??????????try???飬????????????????????????????ж??