Contents

setEntities(_:forConfigurationName:)

Associates the specified entities with the model using the given configuration name.

Declaration

func setEntities(_ entities: [NSEntityDescription], forConfigurationName configuration: String)

Parameters

  • entities:

    An array of instances of NSEntityDescription.

  • configuration:

    A name for the configuration.

Discussion

This method raises an exception if the receiver has been used by an object graph manager.

See Also

Managing entities and configurations