Click or drag to resize

IRepositoryGetT Method

Retrieves an object with a specific business object interface.

Namespace:  PDTec.IceNet.Core.Model
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
T Get<T>(
	string id
)
where T : class, IObject

Parameters

id
Type: SystemString
The object ID.

Type Parameters

T
The type of the requested interface.

Return Value

Type: T
The business object.
Exceptions
ExceptionCondition
ModelExceptionThrown when the requested object does not exist.
IceNetRuntimeExceptionThrown when the object does not implement the requested interface.
See Also