Skip to main content

PersistentObjectStorage<T>.GetObjectRow(T) Method

Returns the data row object that contains information about the specified persistent object.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public object GetObjectRow(
    T obj
)

Parameters

Name Type Description
obj T

A PersistentObject descendant which represents the persistent object (appointment, resource or AppointmentDependency object).

Returns

Type Description
Object

A Object which is the data source object (or the data row) containing information about the persistent object.

Remarks

Each persistent object (appointment, resource or AppointmentDependency object) is stored in a specific storage object (whose base type is PersistentObjectStorage<T>) that can either be used in unbound mode or bound to a data source. When in bound mode, the GetObjectRow method can be used to obtain the data source object (or the data row), which contains information on the specified persistent object.

If the Scheduler is bound to a collection of objects, the GetObjectRow returns the object from the collection. If the Microsoft OLE DB provider is used to connect the Scheduler to the data source, the DataRowView is returned.

See Also