.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.v20.2.dll

Declaration

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.

Returns

Type Description
Boolean

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

See Also