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+

Session.IsNewObject(Object) Method

Indicates whether the specified object is contained within the session's cache.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public bool IsNewObject(
    object theObject
)
Public Function IsNewObject(
    theObject As Object
) As Boolean
public bool IsNewObject(
    object theObject
)
Public Function IsNewObject(
    theObject As Object
) As Boolean

Parameters

Name Type Description
theObject Object

An object which represents the persistent object.

Parameters

Name Type Description
theObject Object

An object which represents the persistent object.

Returns

Type Description
Boolean

true if the specified object doesn't contain within the session's cache; otherwise, false.

Returns

Type Description
Boolean

true if the specified object doesn't contain within the session's cache; otherwise, false.

See Also