The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XPObjectSpace.GetObject(Object) Method

Retrieves an object from another Object Space to the current Object Space.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v19.2.dll

Declaration

public override object GetObject(
    object obj
)
Public Overrides Function GetObject(
    obj As Object
) As Object
public override object GetObject(
    object obj
)
Public Overrides Function GetObject(
    obj As Object
) As Object
public override object GetObject(
    object obj
)
Public Overrides Function GetObject(
    obj As Object
) As Object

Parameters

Name Type Description
obj Object

An object that represents a template object from another Object Space.

Parameters

Name Type Description
obj Object

An object that represents a template object from another Object Space.

Parameters

Name Type Description
obj Object

An object that represents a template object from another Object Space.

Returns

Type Description
Object

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

Returns

Type Description
Object

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

Returns

Type Description
Object

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

Remarks

This method retrieves the object specified as the ObjectFromDifferentObjectSpace parameter from the database via the current Object Space's XPObjectSpace.Session. If the passed object is not persistent, it's returned as is.

See Also