Instance Method

relationshipsWithDestinationEntity:

Returns an array containing the relationships of the receiver where the entity description of the relationship is a given entity.

Declaration

- (NSArray<NSRelationshipDescription *> *)relationshipsWithDestinationEntity:(NSEntityDescription *)entity;

Parameters

entity

An entity description.

Return Value

An array containing the relationships of the receiver where the entity description of the relationship is entity. Elements in the array are instances of NSRelationshipDescription.

See Also

Working with Properties

propertiesByName

A dictionary containing the properties of the receiver.

properties

An array containing the properties of the receiver.

attributesByName

The attributes of the receiver in a dictionary.

relationshipsByName

The relationships of the receiver in a dictionary.