Can you tell me the both are what reason is caused, please modify
CodePudding user response:
Tpyex. GetAlltypes error in the method can debug this methodCodePudding user response:
Development phase, the multi-purpose some output logs, convenient debugging, easily positioning problem,CodePudding user response:
Alltypes this entity attribute is a listCodePudding user response:
Typex. GetAllTypes () returns the list? If there is any empty? The for loop there why typex. GetAllTypes ().Suggestions for loop before get List<> List=typex. GetAllTypes (), and then judge whether the list is empty, recycle the list, do not cycle to obtain allTypes inside