I'm still new to LLBLGen Pro and the whole concept of O/RM, so bare with me.
I am trying to figure out the best method for lazy-loading fields from a table into an entity. For example, I have a large table with many columns, and I have a screen to maintain the data in this table. I have a dropdown where I select the record I want to update, which has the value set to the table's ID, and the text set to a meaningful value (i.e. "Name").
I have my datasource set to a collection of this entity, and my bindingsource set to the datasource. When I load the form, I load the datasource collection using myCollection.GetMulti(null). The way I understand it, this will load the collection with every field of every record, and this obviously takes a while.
Ideally, I want to just load the data required for the dropdown (ID and Name), and then when the selection on the bindingsource changes, lazy-load the remaining data on the table.
I've researched this, and I'm assuming this is possible, I'm just not looking in the right place. I'm aware of PrefetchPaths, but as I understand it, this is for lazy loading related tables, not individual fields on the same table. I'm also aware of Dynamic Lists, but from what I've read about these (granted, I don't have a complete understanding of their use), this doesn't seem like an elegant approach to what I'm trying to accomplish.
What is the best way to accomplish this?
Thanks in advance.