ModelUtilsTryGetRelAttrDefByName Method |
Tries the get a relationship attribute definition from the repository. The usual try-get pattern applies.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static bool TryGetRelAttrDefByName(
IRepository pRepository,
string relTypeName,
string attrDefName,
out IRelAttrDef pResult
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.ModelIRepository
The repository. - relTypeName
- Type: SystemString
Name of relationship rel type. - attrDefName
- Type: SystemString
Name of the attribute definition. - pResult
- Type: PDTec.IceNet.Core.ModelIRelAttrDef
The resulting attribute definition.
Return Value
Type:
Booleantrue if an attribute definition with the specified name exists; otherwise
false.
See Also