How to determine the order of Property Loading in CodeFirst?
问题 I was thinking that is there any way to determine the order of property loading in CodeFirst,for example i have a class like below: public Class { public string Propert1{get;set;} public string Propert2{get;set;} public List<string> PropertList{get;set;} } And i need to make EF to load ProprtyList before property1!(Because i manipulate ProprtyList Values On Property1_Changed). 回答1: A property should be just that: a property. I.e. you get or set it and nothing else, no side effects . I know