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.GetLoadedObjectByKey Method

Name Parameters Description
GetLoadedObjectByKey(Type, Object) classType, id

Returns the persistent object with the specified value of the key property that has been already loaded from a data store.

GetLoadedObjectByKey(XPClassInfo, Object) classInfo, id

Returns the persistent object with the specified value of the key property that has been already loaded from a data store.

GetLoadedObjectByKey<ClassType>(Object) id

Returns the persistent object of the type designated by the specified generic type parameter, with the specified value of the key property previously loaded from a data store.