This is a migrated thread and some comments may be shown as answers.

NeedsToLoad public property

1 Answer 50 Views
DomainDataSource
This is a migrated thread and some comments may be shown as answers.
Wiktor
Top achievements
Rank 1
Wiktor asked on 15 Jan 2011, 10:02 PM
Would it be possible to add a property to tell the DomainDataSource (or to be more exact, the QueryableDomainServiceCollectionView) to not load the data from the server? I need this for scenarios when my application is sure that all the entities are already loaded in the domain context. For example, when TotalEmployeeCount < 100 all entities are loaded all at once, and the application should not query the server again.

I tried to inherit from QueryableDomainServiceCollectionView and from QueryableCollectionView, but it is not possible to do so due to a few "internal" virtual methods.

1 Answer, 1 is accepted

Sort by
0
Wiktor
Top achievements
Rank 1
answered on 16 Jan 2011, 07:38 PM
Never mind. I swap QueryableDomainServiceCollectionView with PagedCollectionView in code behind to achieve the result I want.
Tags
DomainDataSource
Asked by
Wiktor
Top achievements
Rank 1
Answers by
Wiktor
Top achievements
Rank 1
Share this question
or