Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
22490 | Dec 14,2004 01:45 PM UTC | Mar 24,2011 07:34 AM UTC | WinForms | 4 |
![]() |
Tags: Grouping |
///
/// 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 This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.