Using bindable collection classes (LiveLinq to Objects)

Any bindable collection class (a class implementing change notifications for data binding) can be used in LiveLinq queries after it is wrapped in an IndexedCollection<T>-derived adapter class, which is done by applying a ToIndexed() extension method to it.

Using ToIndexed(), you can apply LiveLinq to various common data collections. For example, since the EntityCollection and ObjectResult classes of the ADO.NET Entity Framework are bindable, you can use ADO.NET Entity Framework data in LiveLinq queries and views.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.