I'm accessing database to bulk populate fields.
PopulateAobjs();
PopulateBobjs();
PopulateCobjs();
...
Once the values are populated, I store the entities in a Dictionary<Id, Entity>
.
I'd like to make this process lazy, in such a way that, if I don't need C
objects then I don't need to call that method. etc.
How can this be done?
LazyInit<>?