.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

Session.IsNewObject Method

Name Parameters Description
IsNewObject(Object) theObject Indicates whether the specified object is contained within the session's cache.
IsNewObject(Object, Boolean) theObject, includeParent 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).