API Reference > ecschema-metadata > SchemaPartVisitorDelegate > ISchemaPartVisitor > visitRelationshipConstraint visitRelationshipConstraint MethodOptional Called for each RelationshipConstraint of each RelationshipClass. visitRelationshipConstraint(relationshipConstraint: RelationshipConstraint): Promise<void> Parameter Type Description relationshipConstraint RelationshipConstraint a RelationshipConstraint object. Returns - Promise<void> Defined in core/ecschema-metadata/src/SchemaPartVisitorDelegate.ts Line 149 Last Updated: 11 June, 2024