MonobjcMonobjc Documented Class Library
ObjectIDForEntityReferenceObject Method (entity, data)
NamespacesMonobjc.CoreDataNSAtomicStoreObjectIDForEntityReferenceObject(NSEntityDescription, Id)

Returns a managed object ID from the reference data for a specified entity.

Original signature is '- (NSManagedObjectID *)objectIDForEntity:(NSEntityDescription *)entity referenceObject:(id)data'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSManagedObjectID ObjectIDForEntityReferenceObject(
	NSEntityDescription entity,
	Id data
)
Public Overridable Function ObjectIDForEntityReferenceObject ( _
	entity As NSEntityDescription, _
	data As Id _
) As NSManagedObjectID
public:
virtual NSManagedObjectID^ ObjectIDForEntityReferenceObject(
	NSEntityDescription^ entity, 
	Id^ data
)
Parameters
entity (NSEntityDescription)
An entity description object.
data (Id)
Reference data for which the managed object ID is required.
Return Value
The managed object ID from the reference data for a specified entity
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)