CLINQ Support on RIA Services EntityCollection?

Mar 23, 2010 at 12:04 AM

I am trying to figure out how to use CLINQ with WCF Ria Services' EntityCollection.  This is the signature for an EntityCollection:

EntityCollection<TEntity> : IEnumerable<TEntity>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where TEntity : global::System.ServiceModel.DomainServices.Client.Entity

Where an Entity has the signature:

Entity : INotifyDataErrorInfo, IEditableObject, INotifyPropertyChanged, IRevertibleChangeTracking, IChangeTracking

From my limited experience, it seems like i have to convert my entitycollection into an observablecollection.  If I have to do this, then I would have to make additions to the entitycollection (to allow for persistence) and the derived observable collection (so that continuouscollections can reflect the collection changes).  Am I missing something, or is there a way to get a ContinuousCollection working on an underlying collection that supports INotifyCollectionChanged?

Thanks,

Sam