Skip to main content

IPersistentObjectStorage<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.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

object GetObjectRow(
    T obj
)

Parameters

Name Type Description
obj T

A PersistentObject descendant.

Returns

Type Description
Object

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

Remarks

Each persistent object (appointment or resource) 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