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: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
T Get<T>(
	string id
)
where T : 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