Skip to main content
A newer version of this page is available. .

ISchedulerStorageBase.GetObjectRow(IPersistentObject) Method

Returns the data row object which supplies data to the specified persistent object.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

object GetObjectRow(
    IPersistentObject obj
)

Parameters

Name Type Description
obj IPersistentObject

An object exposed by the IPersistentObject interface. It can be the Scheduler persistent object (an appointment, resource or appointment dependency).

Returns

Type Description
Object

A Object which is the source data object (or the data row), providing data for the persistent object.

Remarks

Each persistent object (appointment, resource or appointment dependency) is stored in a specific storage object (whose base type is PersistentObjectStorage<T>) that can either be used in unbound mode or be 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