ajj3085 posted on Wednesday, November 26, 2008
Hi,
I was trying to figure out what is causing
this problem, and in doing so I compared how XmlDataSource and ObjectDataSource work with how CslaDataSource works.
The concern I have is the code in BeginQuery for CslaDataSource:
if (this.IsRefreshDeferred)
return;
if (_firstRun)
{
_firstRun =
false;
if (!IsInitialLoadEnabled)
return;
}
In both cases of Deferred Refresh and Initial Loading, it looks like the DataSourceProvider base class handles these in combination with data binding. So what is this code supposed to do? I couldn't find any explanation in the eBook, and this causes a different behavior than the two MS providers.