NSIncrementalStore.NewObjectIdFor(NSEntityDescription, NSObject) 方法

定义

开发人员不应重写此方法。 返回实体和说明的新 ID。

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

参数

referenceObject
NSObject

返回

属性

适用于