MonobjcMonobjc Documented Class Library
AssociateSourceInstanceWithDestinationInstanceForEntityMapping Method (sourceInstance, destinationInstance, entityMapping)
NamespacesMonobjc.CoreDataNSMigrationManagerAssociateSourceInstanceWithDestinationInstanceForEntityMapping(NSManagedObject, NSManagedObject, NSEntityMapping)

Associates a given source instance with an array of destination instances for a given property mapping.

Original signature is '- (void)associateSourceInstance:(NSManagedObject *)sourceInstance withDestinationInstance:(NSManagedObject *)destinationInstance forEntityMapping:(NSEntityMapping *)entityMapping'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AssociateSourceInstanceWithDestinationInstanceForEntityMapping(
	NSManagedObject sourceInstance,
	NSManagedObject destinationInstance,
	NSEntityMapping entityMapping
)
Public Overridable Sub AssociateSourceInstanceWithDestinationInstanceForEntityMapping ( _
	sourceInstance As NSManagedObject, _
	destinationInstance As NSManagedObject, _
	entityMapping As NSEntityMapping _
)
public:
virtual void AssociateSourceInstanceWithDestinationInstanceForEntityMapping(
	NSManagedObject^ sourceInstance, 
	NSManagedObject^ destinationInstance, 
	NSEntityMapping^ entityMapping
)
Parameters
sourceInstance (NSManagedObject)
A source managed object.
destinationInstance (NSManagedObject)
The destination manage object for sourceInstance.
entityMapping (NSEntityMapping)
The entity mapping to use to associate sourceInstance with the object in destinationInstances.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)