company logo

PropertyDefinition :: inverse - Property definition for inverse relationship

The function returns the definition for the inverse relationship. When no inverse relationship is available, the function throws an exception.

When the function is called with an invalid property definition it, throws an exception.

.... function (PropertyDefinition &pd) { // fragment

  if ( !pd.inversePropertyPath().IsEmpty() ) {

    ipd = pd.inverseProperty();

    ...

  }

}

Return value:  Property definition ( odaba::PropertyDefinition  )

The property definition provides meta-information about the property.

Implementation details