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

Name Description
GetObjectByKey(Type, Object)

Returns the persistent object that has the specified value for its key property.

GetObjectByKey(Type, Object, Boolean)

Returns the reloaded persistent object with the specified value of the key property from a data store.

GetObjectByKey(XPClassInfo, Object)

Returns a persistent object with the specified value of the key property.

GetObjectByKey(XPClassInfo, Object, Boolean)

Returns the reloaded persistent object with the specified value of the key property from a data store.

GetObjectByKey<ClassType>(Object)

Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.

GetObjectByKey<ClassType>(Object, Boolean)

Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.