ComponentOne Data Source for Entity Framework
C1.LiveLinq.Collections Namespace / IndexableObject Class

In This Topic
    IndexableObject Class
    In This Topic
    Base class for collection element classes.
    Object Model
    IndexableObject Class
    Public Class IndexableObject 
    public class IndexableObject 
    Using IndexedCollection<T> and other collection classes|tag=LiveLinq to Objects: IndexedCollection(T) and other collection classes in LiveLinq to Objects, the element class T must implement the property change notification interface System.ComponentModel.INotifyPropertyChanged. The easiest way to satisfy this requirement is to derive that class from IndexableObject. Then you can use its method OnPropertyChanged to send the required property change notifications. For example, a Customer class can be defined like this: public class Customer : IndexableObject { ..................... private string _name; public string Name { get { return _name; } set { _name = value; OnPropertyChanged("Name"); } } ..................... }
    Inheritance Hierarchy


    See Also