BaseObjectSpace.GetObject(Object) Method

Retrieves an object that corresponds to a specific object from another Object Space or to a specific record from a data view created by the IObjectSpace.CreateDataView method.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public virtual object GetObject(
    object obj
)
Public Overridable Function GetObject(
    obj As Object
) As Object

Parameters

Type Name Description
Object obj

An object from another Object Space or the data view record corresponding to the required persistent object.

Returns

Type Description
Object

An object retrieved from the database via the current Object Space.

This method does nothing and returns null (Nothing in VB). So, it should be overridden in the BaseObjectSpace class' descendants.

See Also