Can LLBLGEN return a dictionary, where each key is the primary key a row, and each value is an object representing the data of a row. For example
var customers = new EntityCollection<CustomerWebSalesSummaryEntity>();
using (var adapter = new DataAccessAdapter(config.ProductionConnectionString))
{
adapter.FetchEntityCollection(customers, null);
}
My understanding is that customers
is a list. I would like it to be a dictionary, where each key is the primary key of a customer row, and each value is an object representing the data of a customer row. I know that I can convert the list to a dictionary, but I was wondering if LLBLGEN had the option of returning one from the outset.