DataSource for Entity Framework in WPF
C1.LiveLinq.Collections Namespace / IndexableObject Class
Members

In This Topic
    IndexableObject Class
    In This Topic
    Base class for collection element classes.
    Object Model
    IndexableObject Class
    Syntax
    'Declaration
     
    Public Class IndexableObject 
    public class IndexableObject 
    Remarks
    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

    System.Object
       C1.LiveLinq.Collections.IndexableObject
          C1.LiveLinq.LiveViews.ViewRow

    See Also