The requested page is not available for the requested platform. You are viewing the content for Default platform.

BaseObjectSpace.IsNewObject(Object) Method

Indicates whether a specified object has been created but has not been saved to the database.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll


public virtual bool IsNewObject(
    object obj
Public Overridable Function IsNewObject(
    obj As Object
) As Boolean


Name Type Description
obj Object

A object to be tested.


Type Description

true if the specified object has not been yet saved to the database; otherwise, false.


In BaseObjectSpace, this method always returns false, but this behavior is overridden in descendants (see EFObjectSpace.IsNewObject and XPObjectSpace.IsNewObject).

See Also