Share via


NSIncrementalStore.NewObjectIdFor(NSEntityDescription, NSObject) Method

Definition

Developers should not override this method. Returns a new ID for the entity and description.

[Foundation.Export("newObjectIDForEntity:referenceObject:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreData.NSManagedObjectID NewObjectIdFor(CoreData.NSEntityDescription forEntity, Foundation.NSObject referenceObject);
[<Foundation.Export("newObjectIDForEntity:referenceObject:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member NewObjectIdFor : CoreData.NSEntityDescription * Foundation.NSObject -> CoreData.NSManagedObjectID
override this.NewObjectIdFor : CoreData.NSEntityDescription * Foundation.NSObject -> CoreData.NSManagedObjectID

Parameters

referenceObject
NSObject

Returns

Attributes

Applies to