///
/// Method is called when the table tries to determine whether a record''s underlying data row can be cached
/// within objects.
///
/// True if record''s underlying data row can be cached
/// within objects; False otherwise.
protected virtual bool ShouldCacheRecordData() // called when SourceList is changed
{
return ((SourceList) is IGroupingList) && ((IGroupingList) SourceList).AllowItemReference || SourceList is System.Data.DataView;
}
Another setting is Engine.AllowSwapDataViewWithDataTableList. It Gets / sets if the engine can wrap access to a DataTable with a
> ///
> /// Method is called when the table tries to determine whether a record''s underlying data row can be cached
> /// within objects.
> ///
> /// True if record''s underlying data row can be cached
> /// within objects; False otherwise.
> protected virtual bool ShouldCacheRecordData() // called when SourceList is changed
> {
> return ((SourceList) is IGroupingList) && ((IGroupingList) SourceList).AllowItemReference || SourceList is System.Data.DataView;
> }
>
>
>Another setting is Engine.AllowSwapDataViewWithDataTableList. It Gets / sets if the engine can wrap access to a DataTable with a