Thanks for you reply
Yes I think we are on the same page, I just want to understand how LLBLGen generate DataTable/DTO from cache
For example, let's say we use the following method to fetch data & cache the resultset
If this query return 1k results to data table, how LLBLGen process and return the datatable (from cache) with the same query. By looping thru the cache and create each data row and return the data table?
QueryFactory qf = new QueryFactory();
DynamicQuery query = qf.Create();
query.Select(ProductFields.Product, ProductFields.Name, ProductFields.Active)
.Where(ProductFields.Active == 1)
.CacheResultset(3600, "ProductCache");
using (DataAccessAdapter adapter = new DataAccessAdapter())
{
DataTable dt = adapter.FetchAsDataTable(query);
}