ModelUtilsTryGetRelAttrDefByName Method |
Tries the get a relationship attribute definition from the repository. The usual try-get pattern applies.
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic 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