IRepositoryGetByKeyT Method |
Retrieves an object with a specific business object interface identified
by its key.
Namespace: PDTec.IceNet.Core.ModelAssembly: PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 6.0.0.0 (6.0.6225.27214)
SyntaxT GetByKey<T>(
string key
)
where T : IObject
Parameters
- key
- Type: SystemString
A key of the object.
Type Parameters
- T
- The type of the requested interface.
Return Value
Type:
TThe business object identified by the key or
null if no
object with the key exists or the object does not implement the
requested interface.
Exceptions
See Also