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 Method

Name Description
IsNewObject(Object)

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

IsNewObject(Object, Boolean)

Obsolete. Indicates whether the specified persistent object is a newly created object which isn't saved in the transaction currently in progress or in any of its parent transaction (optionally).