SchedulerStorageBase.GetObjectRow(IPersistentObject) Method
Returns the data row object that contains information about the specified persistent object.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
obj | IPersistentObject | 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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetObjectRow(IPersistentObject) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.