ManagedDataModelException.relationshipEntityUniqueProperty(ManagedEntity entity, Symbol property)

Source

factory ManagedDataModelException.relationshipEntityUniqueProperty(
    ManagedEntity entity, Symbol property) {
  return new ManagedDataModelException("Type '${_getPersistentClassName(entity)}' "
      "declares '${_getName(property)}' as unique in 'ManagedTableAttributes'. This property cannot "
      "be used to make an instance unique; only attributes or belongs-to relationships may used "
      "in this way.");
}