XPCollection(Session, Object, XPMemberInfo) Constructor
Initializes a new instance of the XPCollection<T> class with specified settings.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
session | Session | The Session that will be used to load and save T persistent objects. |
theOwner | Object | The object that will own the new collection. |
refProperty | XPMemberInfo | The owner’s property for which the related object collection is created. |
Remarks
This constructor overload is used internally to create a collection that represents a one-to-many or many-to-many relationship for a specific object. In most cases there is no need to use this overload.
To learn more about object relationships, refer to Relationships Between Objects