XPCollection
eXpress Persistent Objects allows the collections of persistent objects (XPCollection) to be retrieved from a data store. The retrieved collection can then be bound to a visual data-aware control since it implements the IBindingList and ITypedList interfaces.
Note
XPO classes can’t be used as design-time Data Sources in VS 2005 since the base XPBaseObject class implements the System.ComponentModel.ICustomTypeDescriptor interface to provide dynamic type information. You should use, for example, the XPCollection or XPView as a data source for editors and grids.
Concepts
- XPCollection Concepts
- Creating an XPCollection
- Custom Collection Types
- Object Relational Mapping
- Property Descriptors
- XPO Classes Comparison
Member Table
Task-Based Help
- How to: Bind an XPCollection to the Grid
- How to: Bind an XPCollection to the DataGrid
- How to: Bind an XPCollection to a LookUp
- How to: Bind an XPCollection to Standard Controls
- How to: Implement Many-to-Many Relationships
- How to: Obtain a Collection of Persistent Objects for Processing
- How to: Obtain a Collection of Persistent Objects by a Set of Their IDs
- How to: Make XPCollection Create Objects of Specific Type when They are Created via Bound Controls